URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash41.C] - Rev 823
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// Origin: Mark Mitchell <mark@codesourcery.com>
template <int> struct S1{};
struct S2 { int i; };
template <class T>
void f(S2 s2) {
S1<s2.i> s1; // { dg-error "" }
}
Go to most recent revision | Compare with Previous | Blame | View Log