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
simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-array20.C
blob
048c5b45652c39d03ab8b36e60e892ebde5a754b
1
// PR c++/112658
2
// PR c++/94264
3
// { dg-do compile { target c++11 } }
4
5
void f(int*);
6
7
int main() {
8
using array = int[];
9
f(array{42});
10
f((int*)array{42});
11
}