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
/
attrib50.C
blob
9ff9918fb8039609e203e33043b9119bd98ad4ee
1
// PR c++/50800
2
3
template <typename T> struct B;
4
template <typename T> struct B<T &> {
5
typedef T type;
6
};
7
struct A {
8
typedef int TA __attribute__((__may_alias__));
9
};
10
void d() { B<int &> b; }
11
int main() { B<A::TA &> b; } // { dg-warning "attributes" }