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
expand: Fix up expansion of VIEW_CONVERT_EXPR to BITINT_TYPE [PR117354]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist31.C
blob
a8a29f9c853d10b2b667673dbc8ef0527e63696b
1
// PR c++/43028
2
// { dg-do compile { target c++11 } }
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 "12:'Equation' was not declared" }
12
}; // { dg-error "unable to deduce" }
13
}