llvm-for-llvmta/tools/clang/test/Sema/implicit-builtin-freestandi...

8 lines
241 B
C

// RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
// RUN: %clang_cc1 -fsyntax-only -verify -fno-builtin %s
// RUN: %clang_cc1 -fsyntax-only -verify -fno-builtin-malloc %s
// expected-no-diagnostics
int malloc(int a) { return a; }