Debian Codegraph @

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

raw
1 // Test digit separators in #line (bug 82359).
2 // { dg-do compile { target c++14 } }
3
4 #line 0'123
5 static_assert (__LINE__ == 123, "#line with digit separator");
6
7 #line 4'56'7'8'9
8 static_assert (__LINE__ == 456789, "#line with digit separator");