[cfe-commits] r134035 - /cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp

Chad Rosier mcrosier at apple.com
Tue Jun 28 15:29:54 PDT 2011


Author: mcrosier
Date: Tue Jun 28 17:29:53 2011
New Revision: 134035

URL: http://llvm.org/viewvc/llvm-project?rev=134035&view=rev
Log:
Modify test case to allow buildbots to make forward progress.  This test should
now (incorrectly) pass.  Once the appropriate fixes have been made this test
should be reverted.

Modified:
    cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp

Modified: cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp?rev=134035&r1=134034&r2=134035&view=diff
==============================================================================
--- cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp (original)
+++ cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp Tue Jun 28 17:29:53 2011
@@ -20,7 +20,7 @@
 
 namespace C {
   class C {}; // expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'B::B' to 'const C::C &' for 1st argument}}
-  void func(C); // expected-note {{'C::func' declared here}} \
+  void func(C); // expected-note {{'D::func' declared here}} \
                 // expected-note {{passing argument to parameter here}}
   C operator+(C,C);
   D::D operator+(D::D,D::D);
@@ -38,7 +38,7 @@
     // delaying, or argument checking before emitting diagnostics is needed to
     // avoid accepting and printing out a typo correction that proves to be
     // incorrect once argument-dependent lookup resolution has occurred.
-    func(B::B()); // expected-error {{use of undeclared identifier 'func'; did you mean 'C::func'?}} \
+    func(B::B()); // expected-error {{use of undeclared identifier 'func'; did you mean 'D::func'?}} \
                   // expected-error {{no viable conversion from 'B::B' to 'C::C'}}
     func(C::C());
     A::A() + A::A();





More information about the cfe-commits mailing list