summaryrefslogtreecommitdiffstats
path: root/trunk/testsuite/cxx1.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/testsuite/cxx1.h')
-rw-r--r--trunk/testsuite/cxx1.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/trunk/testsuite/cxx1.h b/trunk/testsuite/cxx1.h
new file mode 100644
index 0000000..d6efe9b
--- /dev/null
+++ b/trunk/testsuite/cxx1.h
@@ -0,0 +1,19 @@
+struct A
+ {
+ virtual int a ();
+ virtual int b ();
+ int c;
+ };
+struct B
+ {
+ virtual int a ();
+ int b;
+ };
+struct C
+ {
+ virtual int a ();
+ virtual int b ();
+ int c;
+ };
+
+void do_check (void (*check) (A *x, B *y), A *x);