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