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" } } */ 12