diff --git a/gcc/testsuite/g++.old-deja/g++.other/local1.C b/gcc/testsuite/g++.old-deja/g++.other/local1.C new file mode 100644 index 00000000000..e347def83b1 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/local1.C @@ -0,0 +1,11 @@ +// Build don't run: + +struct Outer {}; + +int +main() +{ + { struct Inner : virtual public Outer {} inner; } + { struct Inner : virtual public Outer {} inner; } +} +