bolt/deps/llvm-18.1.8/clang/test/Modules/Inputs/merge-dependent-friends/c.h
2025-02-14 19:21:04 +01:00

6 lines
232 B
C++

namespace N { template<typename T> struct A { friend int f(A); }; }
// It would seem like this variable should be called 'c'.
// But that makes the original problem disappear...
int e = f(N::A<int>());
#include "a.h"
#include "b.h"