comparison gcc/testsuite/gcc.dg/pr69391-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do run } */
2 /* { dg-additional-options "-ftrack-macro-expansion=0" } */
3 #define STR_I(X) #X
4 #define STR(X) STR_I(X)
5 #define LINE STR(__LINE__) STR(__LINE__)
6 int main()
7 {
8 const char *s = LINE;
9 if (s[0] != '8' || s[1] != '8')
10 __builtin_abort ();
11 return 0;
12 }