brintos

brintos / llvm-project-archived public Read only

0
0
Text · 229 B · 0b9bccb Raw
10 lines · cpp
1// REQUIRES: asserts2// RUN: not %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s 2>&1 | FileCheck %s3 4struct {5  void __attribute__((used)) f() {}6};7// CHECK: 2 errors generated.8 9// Emit the errors, but don't assert.10