blob: 2099268a1a927855d7e5cbfe1efaab4db24c79cc [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -ast-print %s 2>&1 | grep "N::M::X<INT>::value"
Douglas Gregorbad35182009-03-19 03:51:16 +00002namespace 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}