Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template32.C
blob: 3bbb6e8c59c7d229c8345e6220910a0f41e2f306 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: Instantiating A<int> screws with class bindings for B
template
<
class
T
>
struct
A
{
};
struct
B
{
typedef
int
foo
;
void
f
();
};
void
B
::
f
()
{
A
<int>
a
;
foo i
;
}