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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array22.C
blob
8629e4be239e32c73d4104d54bd9008b6d72915c
1
// PR c++/111286
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options -Wno-unused }
4
5
struct A {
6
A() noexcept {}
7
};
8
9
void foo() {
10
using T = const A (&)[1];
11
T{};
12
}