Debian Codegraph @

gcc/testsuite/g++.dg/diagnostic/typedef-initialized.C

raw
1 struct S
2 {
3 typedef int i __attribute__((unused)) = 1; // { dg-error "15:typedef .i. is initialized" }
4 };
5
6 typedef int i __attribute__((unused)) = 1; // { dg-error "13:typedef .i. is initialized" }