Skip to content

Commit 0a24b2c

Browse files
committed
use --std=gnu++14 when building cxx file in interop tests
1 parent 22d686b commit 0a24b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ config.substitutions.insert(0, ('%target-interop-build-swift',
2525
config.substitutions.insert(0, ('%target-interop-build-clang', '%target-clang -x c -Werror=implicit-function-declaration ' + clang_opt))
2626

2727
# Build C++ files with matching link settings, if required by the target.
28-
config.substitutions.insert(0, ('%target-interop-build-clangxx', '%target-clangxx ' + clang_opt))
28+
config.substitutions.insert(0, ('%target-interop-build-clangxx', '%target-clangxx --std=gnu++14 ' + clang_opt))
2929

3030
# Test parsing of the generated C++ header in different C++ language modes.
3131
config.substitutions.insert(0, ('%check-interop-cxx-header-in-clang\(([^)]+)\)',

0 commit comments

Comments
 (0)