summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/mcount.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/mcount.c')
-rw-r--r--clang/test/CodeGen/mcount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/mcount.c b/clang/test/CodeGen/mcount.c
new file mode 100644
index 0000000..1cf3d6a
--- /dev/null
+++ b/clang/test/CodeGen/mcount.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -pg -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
+void foo(void) {
+// CHECK: call void @mcount()
+}