summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/qualified-names-print.cpp
blob: 2099268a1a927855d7e5cbfe1efaab4db24c79cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -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