summaryrefslogtreecommitdiffstats
path: root/test/Sema/implicit-builtin-freestanding.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/implicit-builtin-freestanding.c')
-rw-r--r--test/Sema/implicit-builtin-freestanding.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/implicit-builtin-freestanding.c b/test/Sema/implicit-builtin-freestanding.c
new file mode 100644
index 0000000..9bd5c05
--- /dev/null
+++ b/test/Sema/implicit-builtin-freestanding.c
@@ -0,0 +1,4 @@
+// RUN: clang-cc -fsyntax-only -verify -ffreestanding %s
+
+int malloc(int a) { return a; }
+
OpenPOWER on IntegriCloud