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
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
FrontendC++
/
2010-06-21-LocalVarDbg.cpp
blob
48d821508dd62a0c3574b6b646b79861f0fa0c7d
1
// RUN: %llvmgxx -g -Os -S %s -o - | llvm-as -disable-output
2
// Do not use function name to create named metadata used to hold
3
// local variable info. For example. llvm.dbg.lv.~A is an invalid name.
4
class
A
{
5
public
:
6
~
A
() {
int
i
=
0
;
i
++; }
7
};
8
9
int
foo
(
int
i
) {
10
A a
;
11
return
0
;
12
}
13