projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype32.C
1
// PR c++/50075
2
// { dg-options "-std=c++0x -ftemplate-depth=10" }
3
4
template <typename T>
5
auto make_array(const T& il) ->
6
decltype(make_array(il)) // { dg-error "not declared|no matching|exceeds" }
7
{ }
8
9
int main()
10
{
11
int z = make_array(1); // { dg-error "no matching" }
12
}