PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / lookup3.C
blobc96a0b0b981a938bd99bd6371407e21b530ebdbb
1 // PR c++/12397
3 struct foo { }; 
4  
5 template <typename T> struct bar 
6
7   bar(){} 
8   int i; 
9   bar (const bar<T>& foo) : i (foo.i) {} 
10 }; 
12 int main() 
13
14   bar<int> b1; 
15   bar<int> b2(b1); 
16