diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/lookup1.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.other/lookup1.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup1.C b/gcc/testsuite/g++.old-deja/g++.other/lookup1.C new file mode 100755 index 0000000..f3ea5eb --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/lookup1.C @@ -0,0 +1,9 @@ +// simple test for id from base class during class defn +// Build don't link: + +struct foo { + enum { blah = 1 }; +}; +struct bar : public foo { + char cache[blah]; +}; |