Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/c2x-scope-2.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 1 /* Test :: token in C2x: preprocessed output. */ |
2 /* { dg-do preprocess } */ | |
3 /* { dg-options "-std=c2x -pedantic-errors -P" } */ | |
4 | |
5 #define COLON() : | |
6 #define TEST() ABC | |
7 | |
8 /* This must have a space inserted between the two ':' tokens in | |
9 preprocessed output. */ | |
10 TEST()COLON()COLON()TEST() | |
11 /* { dg-final { scan-file c2x-scope-2.i "ABC: :ABC" } } */ |