diff options
author | Konstantin Varlamov <varconst@apple.com> | 2023-02-17 11:20:29 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2023-04-03 21:42:35 -0700 |
commit | c163d43e220792637d2274407c925ba2c99bd66c (patch) | |
tree | 032879921ead2c28a2c8366340683931471a1eb8 | |
parent | 9ec8096d0d50a353a5bc5a91064c6332bd634021 (diff) | |
download | llvm-c163d43e220792637d2274407c925ba2c99bd66c.tar.gz |
[libc++] Mark a test relying on `typeid` as unsupported without RTTI.
(cherry picked from commit f50cad2c55dfab4ff3da010a64119b4a93522289)
-rw-r--r-- | libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp b/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp index 07bbdbb8bc2f..cfdda9a9b99d 100644 --- a/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp +++ b/libcxx/test/libcxx/utilities/exception_guard.odr.sh.cpp @@ -6,6 +6,9 @@ // //===----------------------------------------------------------------------===// +// This test relies on `typeid` and thus requires `-frtti`. +// UNSUPPORTED: no-rtti + // Make sure that we don't get ODR violations with __exception_guard when // linking together TUs compiled with different values of -f[no-]exceptions. |