blob: 9dee5e56e49c602463951905776aa66cfd1bc082 [file] [log] [blame]
// { dg-do run }
extern "C" void abort();
template <class T>
void f(T)
{
struct S {
int i;
} s;
s.i = 3;
if (s.i != 3)
abort();
}
int main()
{
f(7);
}