summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/Inputs/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/Inputs/malloc.h')
-rw-r--r--clang/test/SemaCXX/Inputs/malloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/Inputs/malloc.h b/clang/test/SemaCXX/Inputs/malloc.h
new file mode 100644
index 0000000..c54d621
--- /dev/null
+++ b/clang/test/SemaCXX/Inputs/malloc.h
@@ -0,0 +1,3 @@
+extern "C" {
+extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
+}