repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH 12/57][Arm][GAS] Add support for MVE instructions: vaddlv and vaddv
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.mi
/
mi-inheritance-syntax-error.cc
blob
9f0ab052829dafa416618df61241364f38a607d5
1
// Test for -var-info-path-expression syntax error
2
// caused by PR 11912
3
#include <string.h>
4
#include <stdio.h>
5
6
class
A
7
{
8
public
:
9
int
a
;
10
};
11
12
class
C
:
public
A
13
{
14
public
:
15
C
()
16
{
17
a
=
5
;
18
};
19
void
testLocation
()
20
{
21
z
=
1
;
22
};
23
int
z
;
24
};
25
26
int
main
()
27
{
28
C c
;
29
c
.
testLocation
();
30
return
0
;
31
}