aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/empty6.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/compat/break/empty6.h')
-rw-r--r--gcc/testsuite/g++.dg/compat/break/empty6.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/compat/break/empty6.h b/gcc/testsuite/g++.dg/compat/break/empty6.h
new file mode 100644
index 00000000000..47a0da8b52e
--- /dev/null
+++ b/gcc/testsuite/g++.dg/compat/break/empty6.h
@@ -0,0 +1,7 @@
+struct A {};
+
+struct B {
+ A a;
+ virtual void f () {}
+ int i;
+};