summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Misc/thinlto.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/clang/test/Misc/thinlto.c b/clang/test/Misc/thinlto.c
index ae2c148890d..ec0f03f5a2a 100644
--- a/clang/test/Misc/thinlto.c
+++ b/clang/test/Misc/thinlto.c
@@ -1,9 +1,4 @@
// RUN: %clang_cc1 -flto=thin -emit-llvm-bc < %s | llvm-bcanalyzer -dump | FileCheck %s
+// ; Check that the -flto=thin option emits a summary
// CHECK: <GLOBALVAL_SUMMARY_BLOCK
-// CHECK-NEXT: <PERMODULE
-// CHECK-NEXT: <PERMODULE
-// CHECK-NEXT: </GLOBALVAL_SUMMARY_BLOCK
-
-__attribute__((noinline)) void foo() {}
-
-int main() { foo(); }
+int main() {}
OpenPOWER on IntegriCloud