mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2025-03-01 16:26:08 +00:00
Unbreak green dragon bots w/o __builtin_launder
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@349373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d0643acea
commit
50f14e23b5
@ -29,8 +29,8 @@ int main ()
|
||||
(void) std::launder((const void *) nullptr);
|
||||
(void) std::launder(( volatile void *) nullptr);
|
||||
(void) std::launder((const volatile void *) nullptr); // expected-error-re@new:* 4 {{static_assert failed{{.*}} "can't launder cv-void"}}
|
||||
// expected-error@new:* 4 {{void pointer argument to '__builtin_launder' is not allowed}}
|
||||
// expected-error@new:* 0-4 {{void pointer argument to '__builtin_launder' is not allowed}}
|
||||
|
||||
(void) std::launder(foo); // expected-error-re@new:* 1 {{static_assert failed{{.*}} "can't launder functions"}}
|
||||
// expected-error@new:* {{function pointer argument to '__builtin_launder' is not allowed}}
|
||||
// expected-error@new:* 0-1 {{function pointer argument to '__builtin_launder' is not allowed}}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user