repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typedef3.C
blob
e9186103eea4600eab1a7830b485627b8cec3562
1
// { dg-do assemble }
2
// Test that inheriting from a type typedefed to itself works.
3
4
typedef struct class1 {
5
class1& operator=(const class1&);
6
} class1;
7
8
class class2 : public class1 { };