]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
New test case
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 2 May 1999 22:34:55 +0000 (22:34 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 2 May 1999 22:34:55 +0000 (22:34 +0000)
From-SVN: r26735

gcc/testsuite/g++.old-deja/g++.other/vtbl1.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.other/vtbl1.C b/gcc/testsuite/g++.old-deja/g++.other/vtbl1.C
new file mode 100644 (file)
index 0000000..4724ee1
--- /dev/null
@@ -0,0 +1,15 @@
+// Build don't run:
+// Origin: DJ Delorie <dj@delorie.com>
+
+class X {
+public:
+  int i;
+  X() { i = 0; }
+  ~X();
+  virtual int foo() { return i; }
+  virtual void bar();
+};
+
+int main()
+{
+}