aboutsummaryrefslogtreecommitdiff
path: root/configuration/bazel/clang_arbitrary_overload_resolution_bug.cpp
blob: 67b4317c81a834517e5d52d0327dcd103f4686d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
template <typename T, typename U>
struct Pair {};

struct Map : public Pair<int, float>, Pair<int, char> {};

template <typename Value>
Value f(Pair<int, Value>*) { return Value(); }

int main() {
  f((Map*)0);
}