
This offloads some test changes from another PR in order to facilitate review. - Adds some new tests. - Cleans stray spaces and newlines on existing tests. - Regenerates some AST json dumps, as the generator now includes offsets.
12 lines
281 B
C++
12 lines
281 B
C++
// 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
|