blob: 1304221535df68e3519e70a36403a0e38b1fb2bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Test :: token in C23: preprocessed output. */
/* { dg-do preprocess } */
/* { dg-options "-std=c23 -pedantic-errors -P" } */
#define COLON() :
#define TEST() ABC
/* This must have a space inserted between the two ':' tokens in
preprocessed output. */
TEST()COLON()COLON()TEST()
/* { dg-final { scan-file c23-scope-2.i "ABC: :ABC" } } */
|