OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [rfg28.C] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.