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++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto43.C
blob
45a827553d067238cacca9e705f0cb48fc26bb44
1
// PR c++/59114
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct A
5
{
6
template<typename T> operator T();
7
};
8
9
void foo()
10
{
11
A<0>().operator auto(); // { dg-error "invalid use of .auto" }
12
}