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
2012-12-15 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist31.C
1
// PR c++/43028
2
// { dg-options "-std=c++0x" }
3
4
#include <initializer_list>
5
6
struct string { string(std::initializer_list<char>) { } };
7
8
void f() {
9
auto y =
10
{
11
string(Equation()) // { dg-error "not declared" }
12
}; // { dg-error "unable to deduce" }
13
}