blob: a8fbf4622f80360c16942aa7c4c1e353a00405ee [file] [log] [blame]
// 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 dead_on_unwind noalias nocapture writable writeonly sret
D foo1(void) {
return gd0;
}