aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Parser/cxx-nested-name.cpp
blob: f0ef775cc205dfcd4216297ccf2c1bed765ed812 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

namespace binary_operator {
  namespace N {
    template <class> struct A {
      static const int y = 0;
    };
  } // namespace N
  void f(int x) { (void)(x < N::A<int>::y); }
} // namespace binary_operator