summaryrefslogtreecommitdiff
path: root/test/Misc/thinlto.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/thinlto.c')
-rw-r--r--test/Misc/thinlto.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/Misc/thinlto.c b/test/Misc/thinlto.c
index 9134cbe5c5eec..ec0f03f5a2af2 100644
--- a/test/Misc/thinlto.c
+++ b/test/Misc/thinlto.c
@@ -1,9 +1,4 @@
// RUN: %clang_cc1 -flto=thin -emit-llvm-bc < %s | llvm-bcanalyzer -dump | FileCheck %s
-// CHECK: <FUNCTION_SUMMARY_BLOCK
-// CHECK-NEXT: <PERMODULE_ENTRY
-// CHECK-NEXT: <PERMODULE_ENTRY
-// CHECK-NEXT: </FUNCTION_SUMMARY_BLOCK
-
-__attribute__((noinline)) void foo() {}
-
-int main() { foo(); }
+// ; Check that the -flto=thin option emits a summary
+// CHECK: <GLOBALVAL_SUMMARY_BLOCK
+int main() {}