forked from OSchip/llvm-project
8 lines
271 B
C
8 lines
271 B
C
|
// RUN: %clang_cc1 -Wrestrict-expansion %s -fsyntax-only -verify
|
||
|
#include "Inputs/unsafe-macro.h"
|
||
|
#include "Inputs/unsafe-macro-2.h"
|
||
|
|
||
|
// not-expected-warning@+1{{macro 'UNSAFE_MACRO' has been marked as unsafe for use in headers: Don't use this!}}
|
||
|
#if UNSAFE_MACRO
|
||
|
#endif
|