Debian Codegraph @

gcc/testsuite/g++.dg/modules/enum-12.C

raw
1 // PR c++/99573
2 // { dg-additional-options "-fmodules-ts" }
3 // { dg-module-cmi !foo }
4
5 export module foo;
6 namespace std {
7 enum class align_val_t : decltype(sizeof(int)) {}; // { dg-error "in module .foo. conflicts with builtin" }
8 }