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 c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
anon-struct4.C
blob
b3fdd4c15ec23a70c834fc40aecb745bc8b2d81c
1
// PR c++/14401
2
3
struct { struct { int& i ; } bar ; } foo ; // { dg-error "deleted|uninitialized" "uninit" }
4
// { dg-warning "unnamed" "anon" { target { ! c++11 } } .-1 }
5
// { dg-message "should be initialized" "ref-uninit" { target { ! c++11 } } .-2 }