2 #pragma clang restrict_expansion(UNSAFE_MACRO, "Don't use this!")
3 // not-expected-warning@+1{{macro 'UNSAFE_MACRO' has been marked as unsafe for use in headers: Don't use this!}}
4 #pragma clang deprecated(UNSAFE_MACRO, "Don't use this!")
6 #define UNSAFE_MACRO_2 1
7 #pragma clang deprecated(UNSAFE_MACRO_2, "Don't use this!")
8 // not-expected-warning@+1{{macro 'UNSAFE_MACRO_2' has been marked as deprecated: Don't use this!}}
9 #pragma clang restrict_expansion(UNSAFE_MACRO_2, "Don't use this!")