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 tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction43.C
blob
120145516b1fd94031594bda6e35f7730bf0f5f7
1
// PR c++/79790
2
// { dg-options -std=c++17 }
3
4
template <int N>
5
struct array
6
{
7
int a [N];
8
};
9
10
array a = { 1, 2, 3 }; // { dg-error "cannot deduce" }