1 // RUN: %clang -target mips64el-unknown-linux -O3 -S -mabi=n64 -o - -emit-llvm %s | FileCheck %s
2
3 class B {
4 public:
5 virtual ~B() {}
6 };
7
8 class D : public B {
9 };
10
11 extern D gd0;
12
13 // CHECK: _Z4foo1v(%class.D* noalias nocapture sret
14
15 D foo1(void) {
16 return gd0;
17 }
18