1template<int n> 2struct tento { 3 enum {value = 10*tento<n-1>::value}; 4}; 5 6struct tento<0> { // { dg-error "" } 7 enum {value=1}; 8}; 9 10int main() { 11 if (tento<4>::value != 10000) return -1; 12} 13 14