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-deduction9.C
blob
23c58fd20268d1a00489f2f6cd35b42e01d6ea2e
1
// { dg-options -std=c++17 }
2
3
namespace N {
4
template <class T>
5
struct A
6
{
7
int i;
8
A(...);
9
};
10
}
11
12
template <class T>
13
N::A(T) -> N::A<T>; // { dg-error "should have been declared inside .N" }
14
15
namespace N {
16
template <class T>
17
A(T) -> A<T>;
18
}