2 // { dg-options "-ftemplate-depth-15" }
3 template<unsigned int nFactor>
6 enum { nValue = nFactor * Factorial<nFactor - 1>::nValue }; // { dg-error "depth" }
15 static const unsigned int FACTOR = 20;
19 Factorial<FACTOR>::nValue; // { dg-message "from here" }
23 // { dg-prune-output "compilation terminated" }