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
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using30.C
blob
3fbe96c3ce8e3c4c3764f7e5023ea5974830ad6b
1
// { dg-do compile }
2
3
struct H { typedef int type; };
4
struct J : H
5
{
6
struct type {}; // { dg-message "previous" }
7
using H::type; // { dg-error "conflicts" }
8
};