Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typedef3.C
blob: e9186103eea4600eab1a7830b485627b8cec3562 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Test that inheriting from a type typedefed to itself works.
typedef
struct
class1
{
class1
&
operator
=(
const
class1
&);
}
class1
;
class
class2
:
public
class1
{
};