1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | namespace A { |
5 | struct B { }; |
6 | void operator+(B,B); |
7 | } |
8 | |
9 | using A::operator+; |
10 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | namespace A { |
5 | struct B { }; |
6 | void operator+(B,B); |
7 | } |
8 | |
9 | using A::operator+; |
10 |