Skip to content

Commit d41c1be

Browse files
authored
Merge pull request #35359 from compnerd/constexpr-opt
Interop: remove `-O` in test
2 parents 050fd1c + 8a9f179 commit d41c1be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Interop/Cxx/static/constexpr-static-member-var.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-clang -std=c++11 -c %S/Inputs/static-member-var.cpp -I %S/Inputs -o %t/static-member-var.o
3-
// NOTE: we must use `-O` here to ensure that the constexpr value is inlined and no undefined reference remains.
4-
// RUN: %target-build-swift -O %s -I %S/Inputs -o %t/statics %t/static-member-var.o -Xfrontend -enable-cxx-interop
3+
// RUN: %target-build-swift %s -I %S/Inputs -o %t/statics %t/static-member-var.o -Xfrontend -enable-cxx-interop
54
// RUN: %target-codesign %t/statics
65
// RUN: %target-run %t/statics
76
//

0 commit comments

Comments
 (0)