summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/annota2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/annota2.cc')
-rw-r--r--gdb/testsuite/gdb.base/annota2.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/testsuite/gdb.base/annota2.cc b/gdb/testsuite/gdb.base/annota2.cc
deleted file mode 100644
index 234752e49af..00000000000
--- a/gdb/testsuite/gdb.base/annota2.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <stdio.h>
-
-class A {
-public:
- int x;
- int y;
- int foo (int arg);
-};
-
-
-int A::foo (int arg)
-{
- x += arg;
- return arg *2;
-}
-
-int main()
-{
- A a;
-
- a.x = 0;
- a.x = 1;
- a.y = 2;
-
- printf ("a.x is %d\n", a.x);
- return 0;
-}
-