OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [line4.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
 
3
/* Test #line with and without macros for the line number.  */
4
 
5
extern void abort (void);
6
 
7
#define L 90
8
 
9
#line 44
10
enum { i = __LINE__ };
11
 
12
#line L
13
enum { j = __LINE__ };
14
 
15
#line 16  /* N.B. the _next_ line is line 16.  */
16
 
17
char array1[i        == 44 ? 1 : -1];
18
char array2[j        == 90 ? 1 : -1];
19
char array3[__LINE__ == 19 ? 1 : -1];

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.