Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / g++.dg / cpp0x / decltype32.C
index 66731cc..c5f3a55 100644 (file)
@@ -1,12 +1,12 @@
 // PR c++/50075
-// { dg-options -std=c++0x }
+// { dg-options "-std=c++0x -ftemplate-depth=10" }
 
 template <typename T>
-auto make_array(const T& il) ->        // { dg-error "not declared" }
-decltype(make_array(il))
+auto make_array(const T& il) ->
+decltype(make_array(il))    // { dg-error "not declared|no matching|exceeds" }
 { }
 
 int main()
 {
-  int z = make_array(1);       // { dg-error "no match" }
+  int z = make_array(1);    // { dg-error "no matching" }
 }