mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 22:55:57 +00:00
20 lines
256 B
C++
20 lines
256 B
C++
|
// RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
|
||
|
|
||
|
// rdar://7268289
|
||
|
|
||
|
class t {
|
||
|
public:
|
||
|
virtual void foo(void);
|
||
|
void bar(void);
|
||
|
};
|
||
|
|
||
|
void
|
||
|
t::bar(void) {
|
||
|
// CHECK: _ZN1t3barEv{{.*}} align 2
|
||
|
}
|
||
|
|
||
|
void
|
||
|
t::foo(void) {
|
||
|
// CHECK: _ZN1t3fooEv{.*}} align 2
|
||
|
}
|