repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
FrontendC++
/
2010-05-12-PtrToMember-Dbg.cpp
blob
c2d6abe97fc5345127e57555da6cb895ccc0c6a3
1
//RUN: %llvmgxx -O0 -S -g -o - %s | grep DW_TAG_auto_variable
2
class
Foo
3
{
4
public
:
5
int
x
;
6
int
y
;
7
Foo
(
int
i
,
int
j
) {
x
=
i
;
y
=
j
; }
8
};
9
10
11
Foo
foo
(
10
,
11
);
12
13
int
main
() {
14
int
Foo
::*
pmi
= &
Foo
::
y
;
15
return
foo
.*
pmi
;
16
}
17