Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -emit-llvm-only %s
      2 // PR9178
      3 
      4 void abort() __attribute__((__noreturn__));
      5 struct CoinModelLink {
      6   CoinModelLink();
      7   ~CoinModelLink();
      8 };
      9 class CoinModel {
     10   CoinModelLink firstInQuadraticColumn();
     11 };
     12 CoinModelLink CoinModel::firstInQuadraticColumn() {
     13   abort();
     14   CoinModelLink x;
     15   return x;
     16 }
     17 
     18