[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / nostdlibinc.c
blob5b6fab6a870b0be5c68bc1510c83053abea90292
1 // RUN: %clang -target x86_64-unknown-unknown \
2 // RUN: -nostdlibinc -ffreestanding -fsyntax-only %s
4 #if !__has_include("stddef.h")
5 #error "expected to be able to find compiler builtin headers!"
6 #endif
8 #if __has_include("stdlib.h")
9 #error "expected to *not* be able to find standard C headers"
10 #endif