[LV] Add test showing debug output for loops with uncountable BTCs.
[llvm-project.git] / clang / test / CodeGen / mips64-nontrivial-return.cpp
bloba8fbf4622f80360c16942aa7c4c1e353a00405ee
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 dead_on_unwind noalias nocapture writable writeonly sret
15 D foo1(void) {
16 return gd0;