]> granicus.if.org Git - clang/commitdiff
Add regression test for r305179.
authorYaron Keren <yaron.keren@gmail.com>
Mon, 12 Jun 2017 18:05:13 +0000 (18:05 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Mon, 12 Jun 2017 18:05:13 +0000 (18:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305213 91177308-0d34-0410-b5e6-96231b3b80d8

test/Misc/pr32207.c [new file with mode: 0644]

diff --git a/test/Misc/pr32207.c b/test/Misc/pr32207.c
new file mode 100644 (file)
index 0000000..57b147d
--- /dev/null
@@ -0,0 +1,3 @@
+// test for r305179
+// RUN: %clang_cc1 -emit-llvm -O -mllvm -print-after-all %s -o %t 2>&1 | grep '*** IR Dump After Function Integration/Inlining ***'
+void foo() {}