summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/no-lto-unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/no-lto-unit.cpp')
-rw-r--r--test/CodeGenCXX/no-lto-unit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGenCXX/no-lto-unit.cpp b/test/CodeGenCXX/no-lto-unit.cpp
index 24b8fd0154..3797f0742e 100644
--- a/test/CodeGenCXX/no-lto-unit.cpp
+++ b/test/CodeGenCXX/no-lto-unit.cpp
@@ -2,6 +2,8 @@
// RUN: llvm-dis -o - %t | FileCheck %s
// RUN: %clang_cc1 -flto=thin -flto-unit -fno-lto-unit -triple x86_64-unknown-linux -fvisibility hidden -emit-llvm-bc -o %t %s
// RUN: llvm-dis -o - %t | FileCheck %s
+// RUN: llvm-bcanalyzer -dump %t | FileCheck %s --check-prefix=NOLTOUNIT
+// NOLTOUNIT: <FLAGS op0=0/>
// CHECK-NOT: !type
class A {