1 // RUN: %clang_cc1 -ast-print %s 2>&1 | grep "N::M::X<INT>::value" 2 namespace N { 3 namespace M { 4 template<typename T> 5 struct X { 6 enum { value }; 7 }; 8 } 9 } 10 11 typedef int INT; 12 13 int test() { 14 return N::M::X<INT>::value; 15 } 16