diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2023-04-24 12:04:18 -0400 |
---|---|---|
committer | Michael Buch <michaelbuch12@gmail.com> | 2023-04-24 12:05:20 -0400 |
commit | 53791896de3fcc5606c190fa4e4552383ee1dcb8 (patch) | |
tree | 6d5df6f5f55fc2de9d8e207b5a88a427de7fd4b0 /lldb/test | |
parent | 8eea50c7c5569b13f8c910349754c72337075b1f (diff) | |
download | llvm-53791896de3fcc5606c190fa4e4552383ee1dcb8.tar.gz |
[lldb][test] TestCPP20Standard.py: skip on older compilers
Requires C++20 support (at least for the spaceship operator).
Seems to work back to Clang-11
Diffstat (limited to 'lldb/test')
-rw-r--r-- | lldb/test/API/lang/cpp/standards/cpp20/TestCPP20Standard.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/API/lang/cpp/standards/cpp20/TestCPP20Standard.py b/lldb/test/API/lang/cpp/standards/cpp20/TestCPP20Standard.py index dbca9092e3ab..017e621fd06e 100644 --- a/lldb/test/API/lang/cpp/standards/cpp20/TestCPP20Standard.py +++ b/lldb/test/API/lang/cpp/standards/cpp20/TestCPP20Standard.py @@ -4,6 +4,7 @@ from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestCPP20Standard(TestBase): + @skipIf(compiler="clang", compiler_version=['<', '11.0']) def test_cpp20(self): """ Tests that we can evaluate an expression in C++20 mode |