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

8 lines
241 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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; }