20000628-1.c: New test.
* gcc.dg/cpp/20000628-1.c: New test. * gcc.dg/cpp/20000628-1.h: New header for above test. * gcc.dg/cpp/20000628-1a.h: Likewise. From-SVN: r34762
This commit is contained in:
parent
54bef41ddc
commit
39ab19f679
@ -1,3 +1,9 @@
|
||||
2000-06-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.dg/cpp/20000628-1.c: New test.
|
||||
* gcc.dg/cpp/20000628-1.h: New header for above test.
|
||||
* gcc.dg/cpp/20000628-1a.h: Likewise.
|
||||
|
||||
2000-06-27 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* gcc.dg/cpp: New directory.
|
||||
|
5
gcc/testsuite/gcc.dg/cpp/20000628-1.c
Normal file
5
gcc/testsuite/gcc.dg/cpp/20000628-1.c
Normal file
@ -0,0 +1,5 @@
|
||||
/* Test if #line commands are generated properly even when header
|
||||
includes self. */
|
||||
/* { dg-do compile } */
|
||||
#include "20000628-1.h"
|
||||
int main(void) { return 0; }
|
8
gcc/testsuite/gcc.dg/cpp/20000628-1.h
Normal file
8
gcc/testsuite/gcc.dg/cpp/20000628-1.h
Normal file
@ -0,0 +1,8 @@
|
||||
/* Test if #line commands are generated properly even when header
|
||||
includes self. */
|
||||
#include "20000628-1a.h"
|
||||
#ifndef t20000628_1_h
|
||||
#define t20000628_1_h 1
|
||||
#include "20000628-1.h"
|
||||
#include "20000628-1a.h"
|
||||
#endif
|
2
gcc/testsuite/gcc.dg/cpp/20000628-1a.h
Normal file
2
gcc/testsuite/gcc.dg/cpp/20000628-1a.h
Normal file
@ -0,0 +1,2 @@
|
||||
/* Included from 20000628-1.h */
|
||||
asm ("");
|
Loading…
x
Reference in New Issue
Block a user