]> granicus.if.org Git - clang/commitdiff
add a testcase
authorChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 00:59:08 +0000 (00:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Jan 2009 00:59:08 +0000 (00:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61660 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/qualified-id-lookup.cpp

index ac2c69340111dcdef25ba6573d2c70af26a85a7b..d0bb338e873cd568e0b734d6223181830f23ede5 100644 (file)
@@ -50,4 +50,6 @@ typedef struct N::f2 type2;
 void test_f1(int i) {
   int &v1 = N::f1();
   float &v2 = N::f1(i);
+  int v3 = ::i1;
 }
+