Fix diagnostic in verify test to match new Clang output
authorEric Fiselier <eric@efcs.ca>
Fri, 7 Jul 2017 23:02:30 +0000 (23:02 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 7 Jul 2017 23:02:30 +0000 (23:02 +0000)
llvm-svn: 307450

libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor2.fail.cpp

index 984dcdc..212a120 100644 (file)
@@ -30,5 +30,5 @@ typedef volatile std::packaged_task<A(int, char)> VPT;
 int main()
 {
     PT p { std::allocator_arg_t{}, test_allocator<A>{}, VPT {}}; // expected-error {{no matching constructor for initialization of 'PT' (aka 'packaged_task<A (int, char)>')}}
-    // expected-note@future:* 1 {{candidate template ignored: disabled by 'enable_if'}}
+    // expected-note-re@future:* 1 {{candidate template ignored: {{(disabled by 'enable_if')|(requirement '.*' was not satisfied)}}}}
 }