Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / mips64-nontrivial-return.cpp
blob0987dcaf355dd27863d9fcee369c0074ad500c16
1 // RUN: %clang_cc1 -triple mips64el-unknown-linux -O3 -target-abi n64 -o - -emit-llvm %s | FileCheck %s
3 class B {
4 public:
5 virtual ~B() {}
6 };
8 class D : public B {
9 };
11 extern D gd0;
13 // CHECK: _Z4foo1v(ptr noalias nocapture writeonly sret
15 D foo1(void) {
16 return gd0;