1*0a6a1f1dSLionel Sambuc // REQUIRES: asserts 2*0a6a1f1dSLionel Sambuc // RUN: not %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s 2>&1 | FileCheck %s 3*0a6a1f1dSLionel Sambuc 4*0a6a1f1dSLionel Sambuc struct { f__anon57a9067c01085*0a6a1f1dSLionel Sambuc void __attribute__((used)) f() {} 6*0a6a1f1dSLionel Sambuc }; 7*0a6a1f1dSLionel Sambuc // CHECK: 2 errors generated. 8*0a6a1f1dSLionel Sambuc 9*0a6a1f1dSLionel Sambuc // Emit the errors, but don't assert. 10