]> granicus.if.org Git - clang/commitdiff
Test case for r104938.
authorJohn McCall <rjmccall@apple.com>
Fri, 28 May 2010 06:14:52 +0000 (06:14 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 28 May 2010 06:14:52 +0000 (06:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104939 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp

index 0e262f3eb1d6a4c02db56e9700e7e930e624aeeb..2bdf7cb0d7ef4c241f38c0fdbadb0680f0174331 100644 (file)
@@ -86,3 +86,14 @@ namespace P {
   }
 }
 
+namespace test5 {
+  namespace NS {
+    struct A;
+    void foo(void (*)(A&));
+  }
+  void bar(NS::A& a);
+
+  void test() {
+    foo(&bar);
+  }
+}