projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
++0x -> ++11.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-49776.C
1
// PR c++/49776
2
// { dg-options -std=c++11 }
3
4
struct s
5
{
6
int i[1];
7
8
template<class... Types>
9
constexpr s(Types... args)
10
: i{args...} // { dg-error "cannot convert" }
11
{ }
12
};
13
14
int main()
15
{
16
s test = nullptr;
17
}