summaryrefslogtreecommitdiffstats
path: root/trunk/testsuite/layoutlib.C
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/testsuite/layoutlib.C')
-rw-r--r--trunk/testsuite/layoutlib.C10
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk/testsuite/layoutlib.C b/trunk/testsuite/layoutlib.C
new file mode 100644
index 0000000..8162515
--- /dev/null
+++ b/trunk/testsuite/layoutlib.C
@@ -0,0 +1,10 @@
+struct A
+ {
+ virtual int a();
+ int b;
+ };
+
+int A::a()
+{
+ return 10;
+}