Debian Codegraph @

gcc/testsuite/g++.dg/modules/tdef-2_c.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2
3 import tdef;
4
5 I main ()
6 {
7 return 0;
8 }
9
10 J nope; // { dg-error "does not name a type" }
11
12 typedef char J;
13
14 static J ok;