mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
New test case for r96543.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dcdcef2cb3
commit
ca82a15ad1
14
test/FrontendC++/2010-02-17-DbgArtificialArg.cpp
Normal file
14
test/FrontendC++/2010-02-17-DbgArtificialArg.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
// RUN: %llvmgcc -g -S %s -o - | grep DW_TAG_pointer_type | grep "i32 458767, metadata .., metadata ..., metadata .., i32 0, i64 64, i64 64, i64 0, i32 64, metadata ..."
|
||||
// Here, second to last argument "i32 64" indicates that artificial type is set.
|
||||
// Test to artificial attribute attahed to "this" pointer type.
|
||||
// Radar 7655792 and 7655002
|
||||
|
||||
class A {
|
||||
public:
|
||||
int fn1(int i) const { return i + 2; };
|
||||
};
|
||||
|
||||
int foo() {
|
||||
A a;
|
||||
return a.fn1(1);
|
||||
}
|
Loading…
Reference in New Issue
Block a user