File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-clang -c %S/Inputs/member-out-of-line.cpp -I %S/Inputs -o %t/member-out-of-line.o
2
+ // RUN: %target-clang -std=c++11 - c %S/Inputs/member-out-of-line.cpp -I %S/Inputs -o %t/member-out-of-line.o
3
3
// RUN: %target-build-swift %s -I %S/Inputs -o %t/member-out-of-line %t/member-out-of-line.o -Xfrontend -enable-cxx-interop
4
4
// RUN: %target-codesign %t/member-out-of-line
5
5
// RUN: %target-run %t/member-out-of-line
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-clang -c %S/Inputs/non-member-out-of-line.cpp -I %S/Inputs -o %t/non-member-out-of-line.o
2
+ // RUN: %target-clang -std=c++11 - c %S/Inputs/non-member-out-of-line.cpp -I %S/Inputs -o %t/non-member-out-of-line.o
3
3
// RUN: %target-build-swift %s -I %S/Inputs -o %t/non-member-out-of-line %t/non-member-out-of-line.o -Xfrontend -enable-cxx-interop
4
4
// RUN: %target-codesign %t/non-member-out-of-line
5
5
// RUN: %target-run %t/non-member-out-of-line
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-clang -c %S/Inputs/reference.cpp -I %S/Inputs -o %t/reference.o
2
+ // RUN: %target-clang -std=c++11 - c %S/Inputs/reference.cpp -I %S/Inputs -o %t/reference.o
3
3
// RUN: %target-build-swift %s -I %S/Inputs -o %t/reference %t/reference.o -Xfrontend -enable-cxx-interop
4
4
// RUN: %target-codesign %t/reference
5
5
// RUN: %target-run %t/reference
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-clang -c %S/Inputs/static-member-var.cpp -I %S/Inputs -o %t/static-member-var.o
2
+ // RUN: %target-clang -std=c++11 - c %S/Inputs/static-member-var.cpp -I %S/Inputs -o %t/static-member-var.o
3
3
// NOTE: we must use `-O` here to ensure that the constexpr value is inlined and no undefined reference remains.
4
4
// RUN: %target-build-swift -O %s -I %S/Inputs -o %t/statics %t/static-member-var.o -Xfrontend -enable-cxx-interop
5
5
// RUN: %target-codesign %t/statics
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-clang -c %S/Inputs/static-member-var.cpp -I %S/Inputs -o %t/static-member-var.o
2
+ // RUN: %target-clang -std=c++11 - c %S/Inputs/static-member-var.cpp -I %S/Inputs -o %t/static-member-var.o
3
3
// RUN: %target-build-swift %s -I %S/Inputs -o %t/statics %t/static-member-var.o -Xfrontend -enable-cxx-interop
4
4
// RUN: %target-codesign %t/statics
5
5
// RUN: %target-run %t/statics
You can’t perform that action at this time.
0 commit comments