blob: 902655238baf2c9fecfd501e74a2f17730d1898e [file] [log] [blame]
Douglas Gregorbad35182009-03-19 03:51:16 +00001// RUN: clang -ast-print %s 2>&1 | grep "N::M::X<INT>::value"
2namespace N {
3 namespace M {
4 template<typename T>
5 struct X {
6 enum { value };
7 };
8 }
9}
10
11typedef int INT;
12
13int test() {
14 return N::M::X<INT>::value;
15}