Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Modules / Inputs / odr_hash-Friend / Bad.h
blobc0a6d1f9889fe008706a4e4f3b3c4d0acaae8dee
1 template <class T>
2 struct iterator {
3 void Compare(const iterator &x) { return; }
4 friend void Check(iterator) { return; }
5 };
7 template <class T = int> struct Box {
8 iterator<T> I;
10 void test() {
11 Check(I);
12 I.Compare(I);
16 // Force instantiation of Box<int>
17 Box<> B;