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/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction53.C
blob
6025dc47cf52683636c7295a4ad6d39e1b393f43
1
// PR c++/85135
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct A {};
5
6
auto foo() -> A; // { dg-error "A" }
7
8
template<typename> struct B {};
9
10
auto foo() -> A; // { dg-error "A" }