comparison gcc/testsuite/c-c++-common/cpp/dir-only-8.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
145:1830386684a0 152:2b5abeee2509
1 // { dg-do preprocess { target c++ } }
2 // { dg-options "-std=c++14" }
3 // { dg-additional-options -fdirectives-only }
4
5 012'bcd
6 #define A 1
7 // '
8 #ifndef A
9 #error Fell into first char const
10 #endif
11 enum { A = 195'936'478 }; 'a'
12 #define AA 1
13 // 'a
14 #ifndef AA
15 #error Fell into early char const
16 #endif
17
18 012\
19 'bcd
20 #define B 1
21 // '
22 #ifndef B
23 #error Fell into second char const
24 #endif
25
26 .012'b
27 #define C 1
28 // '
29 #ifndef C
30 #error Fell into third char const
31 #endif
32
33 .0e+12'b
34 #define D 1
35 // '
36 #ifndef D
37 #error Fell into fourth char const
38 #endif