
Conversion performed using the script at: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only tests where no manual fixup was required.
18 lines
273 B
C++
18 lines
273 B
C++
// RUN: %clang_cc1 -triple mips64el-unknown-linux -O3 -target-abi n64 -o - -emit-llvm %s | FileCheck %s
|
|
|
|
class B {
|
|
public:
|
|
virtual ~B() {}
|
|
};
|
|
|
|
class D : public B {
|
|
};
|
|
|
|
extern D gd0;
|
|
|
|
// CHECK: _Z4foo1v(ptr noalias nocapture writeonly sret
|
|
|
|
D foo1(void) {
|
|
return gd0;
|
|
}
|