Home | History | Annotate | Download | only in CodeGenCXX
      1 // REQUIRES: asserts
      2 // RUN: not %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s 2>&1 | FileCheck %s
      3 
      4 struct {
      5   void __attribute__((used)) f() {}
      6 };
      7 // CHECK: 2 errors generated.
      8 
      9 // Emit the errors, but don't assert.
     10