teak-llvm/clang/test/CodeGen/mips64-nontrivial-return.cpp
Bill Wendling 85ab57ac5d Update the tests.
This update coincides with r174110. That change ordered the attributes
alphabetically.

llvm-svn: 174111
2013-01-31 23:17:12 +00:00

18 lines
262 B
C++

// RUN: %clang -target mips64el-unknown-linux -O3 -S -mabi=n64 -o - -emit-llvm %s | FileCheck %s
class B {
public:
virtual ~B() {}
};
class D : public B {
};
extern D gd0;
// CHECK: _Z4foo1v(%class.D* noalias nocapture sret
D foo1(void) {
return gd0;
}