Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/lookup/pr87904.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 // PR c++ 87904 ICE failing to initiate deduping | |
2 | |
3 namespace X { | |
4 void Foo (char); | |
5 } | |
6 | |
7 struct B { | |
8 friend void Foo (int); | |
9 }; | |
10 | |
11 using X::Foo; | |
12 | |
13 void Foo (float); | |
14 void Foo(int); | |
15 | |
16 void frob () | |
17 { | |
18 using namespace X; | |
19 | |
20 Foo (1); | |
21 } |