[cfe-commits] r104939 - /cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp

John McCall rjmccall at apple.com
Thu May 27 23:14:53 PDT 2010


Author: rjmccall
Date: Fri May 28 01:14:52 2010
New Revision: 104939

URL: http://llvm.org/viewvc/llvm-project?rev=104939&view=rev
Log:
Test case for r104938.


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

Modified: cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp?rev=104939&r1=104938&r2=104939&view=diff
==============================================================================
--- cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp (original)
+++ cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp Fri May 28 01:14:52 2010
@@ -86,3 +86,14 @@
   }
 }
 
+namespace test5 {
+  namespace NS {
+    struct A;
+    void foo(void (*)(A&));
+  }
+  void bar(NS::A& a);
+
+  void test() {
+    foo(&bar);
+  }
+}





More information about the cfe-commits mailing list