]> granicus.if.org Git - clang/commitdiff
Another test case for PR6062
authorDouglas Gregor <dgregor@apple.com>
Tue, 19 Jan 2010 06:47:24 +0000 (06:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 19 Jan 2010 06:47:24 +0000 (06:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93872 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/dependent-base-member-init.cpp

index 3109375806422152f6e5dc15a40192706c51e4da..1f131491e62181ad1537aa9d8393b61db3a0fb79 100644 (file)
@@ -52,3 +52,8 @@ namespace PR6062 {
     A(U& init) : U::other_type(init) { }
   };
 }
+
+template<typename T, typename U>
+struct X0 : T::template apply<U> {
+  X0(int i) : T::template apply<U>(i) { }
+};