llvm-for-llvmta/tools/clang/test/Modules/Inputs/merge-dependent-friends/c.h

7 lines
232 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
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"