Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / friend-out-of-line.cpp
blob881aed96c7acb411e9f008e3038b5dac00ba2c2d
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 namespace N {
5 class X;
6 };
8 class N::X {
9 template<typename T> friend const T& f(const X&);
10 friend const int& g(const X&);
11 friend class Y;