summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/qualified-names-print.cpp
blob: 902655238baf2c9fecfd501e74a2f17730d1898e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: clang -ast-print %s 2>&1 | grep "N::M::X<INT>::value"
namespace N {
  namespace M {
    template<typename T>
    struct X {
      enum { value };
    };
  }
}

typedef int INT;

int test() {
  return N::M::X<INT>::value;
}
OpenPOWER on IntegriCloud