URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [elab1.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
typedef struct {} S; // { dg-error "" } Previous declaration of S
S s1;
struct S* s2; // { dg-error "" } S is a typedef name
template <class T>
struct X {
friend class T; // { dg-error "" } T is a template type parameter
};