2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.mi / mi-inheritance-syntax-error.cc
CommitLineData
0d932b2f
MK
1// Test for -var-info-path-expression syntax error
2// caused by PR 11912
3#include <string.h>
4#include <stdio.h>
5
6class A
7{
8 int a;
9};
10
11class C : public A
12{
13 public:
14 C()
15 {
16 };
17 void testLocation()
18 {
19 z = 1;
20 };
21 int z;
22};
23
24int main()
25{
26 C c;
27 c.testLocation();
28 return 0;
29}
This page took 0.023367 seconds and 4 git commands to generate.