mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-21 03:32:29 +00:00
Testcase for rev. 64704
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a6c1a840a
commit
1236df4aaa
12
test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
Normal file
12
test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
|
||||
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | not grep comp_ctor
|
||||
// RUN: %llvmgcc -S -g --emit-llvm %s -o - | not grep comp_dtor
|
||||
class A {
|
||||
int i;
|
||||
public:
|
||||
A() { i = 0; }
|
||||
~A() { i = 42; }
|
||||
};
|
||||
|
||||
A a;
|
||||
|
Loading…
x
Reference in New Issue
Block a user