mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
9dd2b47d44
This is a backword compatible change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115084 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
391 B
C++
19 lines
391 B
C++
// RUN: %llvmgcc -g -S -O2 %s -o - | FileCheck %s
|
|
|
|
class foo {
|
|
public:
|
|
int bar(int x);
|
|
static int baz(int x);
|
|
};
|
|
|
|
int foo::bar(int x) {
|
|
// CHECK: {{i32 [0-9]+, i1 true(, i[0-9]+ [^\}]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
|
|
return x*4 + 1;
|
|
}
|
|
|
|
int foo::baz(int x) {
|
|
// CHECK: {{i32 [0-9]+, i1 true(, i[0-9]+ [^\},]+[}]|[}]) ; \[ DW_TAG_subprogram \]}}
|
|
return x*4 + 1;
|
|
}
|
|
|