2 // Origin: georg.wild@gmx.de
3 // Reduced by: tbagot@bluearc.com and Nathanael C. Nerode <neroden@twcny.rr.com>
4 // Test for that excessive template recursion does not occur
5 // because of optimization.
6 // { dg-options "-ftemplate-depth-1 -O" }
9 template<class T> ostream& foo( const T & )