[libcxx] r349373 - Unbreak green dragon bots w/o __builtin_launder
Eric Fiselier
eric at efcs.ca
Mon Dec 17 10:37:59 PST 2018
Author: ericwf
Date: Mon Dec 17 10:37:59 2018
New Revision: 349373
URL: http://llvm.org/viewvc/llvm-project?rev=349373&view=rev
Log:
Unbreak green dragon bots w/o __builtin_launder
Modified:
libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp
Modified: libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp?rev=349373&r1=349372&r2=349373&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/ptr.launder/launder.types.fail.cpp Mon Dec 17 10:37:59 2018
@@ -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 at new:* 4 {{static_assert failed{{.*}} "can't launder cv-void"}}
- // expected-error at new:* 4 {{void pointer argument to '__builtin_launder' is not allowed}}
+ // expected-error at new:* 0-4 {{void pointer argument to '__builtin_launder' is not allowed}}
(void) std::launder(foo); // expected-error-re at new:* 1 {{static_assert failed{{.*}} "can't launder functions"}}
- // expected-error at new:* {{function pointer argument to '__builtin_launder' is not allowed}}
+ // expected-error at new:* 0-1 {{function pointer argument to '__builtin_launder' is not allowed}}
}
More information about the libcxx-commits
mailing list