Skip to content

Commit b64cb87

Browse files
mdtoguchidbudanov-cmplr
authored andcommitted
Update test to match -fvisibility=arg option requirements (#7098)
1 parent c1c748b commit b64cb87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGenCXX/visibility.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// RUN: %clang_cc1 -opaque-pointers %s -std=c++11 -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
2-
// RUN: %clang_cc1 -opaque-pointers %s -std=c++11 -triple=x86_64-apple-darwin10 -fvisibility hidden -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-HIDDEN
2+
// RUN: %clang_cc1 -opaque-pointers %s -std=c++11 -triple=x86_64-apple-darwin10 -fvisibility=hidden -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-HIDDEN
33
// For clang, "internal" is just an alias for "hidden". We could use it for some
44
// optimization purposes on 32-bit x86, but it's not worth it.
5-
// RUN: %clang_cc1 -opaque-pointers %s -std=c++11 -triple=x86_64-apple-darwin10 -fvisibility internal -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-HIDDEN
5+
// RUN: %clang_cc1 -opaque-pointers %s -std=c++11 -triple=x86_64-apple-darwin10 -fvisibility=internal -emit-llvm -o - | FileCheck %s -check-prefix=CHECK-HIDDEN
66

77
#define HIDDEN __attribute__((visibility("hidden")))
88
#define PROTECTED __attribute__((visibility("protected")))

0 commit comments

Comments
 (0)