Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/rfg28.C

raw
1 // { dg-do assemble }
2 /* From 01/25/94 working paper (7.1.3):
3
4 If, in a decl-specifier-seq containing the decl-specifier typedef,
5 there is no type-specifier, or the only type-specifiers are cv-
6 qualifiers, the typedef declaration is ill-formed.
7 */
8
9 typedef foo; // { dg-error "" } invalid typedef
10 typedef const bar; // { dg-error "" } invalid typedef