diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-12-17 18:37:59 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-12-17 18:37:59 +0000 |
commit | 2b6ac2baf7eaa4c3243b9c911c451fd10e9da436 (patch) | |
tree | 9249bf174b28c715bd0f161214df10361159c290 /libcxx/test | |
parent | aeaf5c719ce66936043f92114cf5852027fac352 (diff) |
Unbreak green dragon bots w/o __builtin_launder
Diffstat (limited to 'libcxx/test')
-rw-r--r-- | libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp b/libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp index 6328ff93af0..034c578bbf3 100644 --- a/libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp +++ b/libcxx/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp @@ -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}} } |