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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
decomp44.C
blob
168a13e0dc991eec0f587e0b56998cf8f81707b5
1
// PR c++/85227
2
// { dg-do compile { target c++11 } }
3
// { dg-options "" }
4
5
extern struct A a;
6
7
template<int> void foo()
8
{
9
auto[i] = a; // { dg-warning "incomplete" }
10
} // { dg-warning "structured bindings only available with -std=c..17 or -std=gnu..17" "" { target c++14_down } .-1 }