OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/44157
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist34.C
1
// PR c++/44157
2
// { dg-options "-std=c++0x" }
3
4
#include <initializer_list>
5
6
template<typename T>
7
void f(T) { }
8
9
int main() {
10
std::initializer_list<int> a = { 0 };
11
f(a);
12
}