Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr69391-1.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |