llvm-project/clang/test/Sema/unsupported-arm-streaming.cpp
Benjamin Maxwell c049732d7f
[clang] Fix crash when diagnosing unsupported attributes (#150333)
In #141305, the attribute argument was (unintentionally) removed from
the diagnostic emission.

Fixes #150237
2025-07-24 09:42:05 +01:00

4 lines
194 B
C++

// RUN: %clang_cc1 -x c -triple x86_64-pc-linux-gnu -fsyntax-only -verify %s
void arm_streaming(void) __arm_streaming {} // expected-error {{'__arm_streaming' is not supported on this target}}