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
Implement C++11 delegating constructors.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype32.C
1
// PR c++/50075
2
// { dg-options -std=c++0x }
3
4
template <typename T>
5
auto make_array(const T& il) -> // { dg-error "not declared" }
6
decltype(make_array(il))
7
{ }
8
9
int main()
10
{
11
int z = make_array(1); // { dg-error "no match" }
12
}