Debian Codegraph @

gcc/testsuite/g++.dg/modules/cpp-21.C

raw
1 // PR c++/120845
2 // { dg-do compile }
3 // { dg-additional-options "-fmodules" }
4
5 export module pr120485
6 [[foobarbaz]];
7 // { dg-error "expected ';' before end of line" "" { target *-*-* } .-2 }
8 // { dg-warning "attribute ignored" "" { target *-*-* } .-2 }