mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
18 lines
262 B
C++
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;
|
|
}
|