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
testsuite: update mangling
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
class-deduction-aggr7.C
blob
3505a8c97dbc3d3dd37a757390b70be85d7f39d8
1
// { dg-do compile { target c++20 } }
2
3
template <class T, int N>
4
struct A
5
{
6
T ar[N];
7
};
8
9
A a = { "foo" };
10
11
template<class, class> struct same;
12
template<class T> struct same<T,T> {};
13
same<decltype (a.ar), char[4]> s;
14