Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/digit-sep-paste.C

raw
1 // Test token pasting with digit separators avoided for preprocessed output.
2 // { dg-do compile { target c++14 } }
3 // { dg-options "-save-temps" }
4
5 #define ZERO 0
6
7 int
8 f ()
9 {
10 return ZERO'0'0; /* { dg-error "expected" } */
11 }