repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error54.C
blob
b49c76b005720049fc5e183bf3018f01bde48cef
1
// PR c++/51640
2
3
class ex {};
4
5
namespace t
6
{
7
class ex2 : public ex {};
8
}
9
10
class ex2 : public ex {};
11
12
void bar()
13
{
14
using namespace t;
15
16
try {
17
} catch (ex2&) { // { dg-error "reference to 'ex2' is ambiguous" }
18
}
19
}