1 // { dg-options "-fabi-version=0" } 2 3 enum E { e = 3 }; 4 5 template <int I> struct S {}; 6 f(S<e+1>)7template <int I> void f (S<e + 1>) {} 8 template void f<7>(S<e + 1>); 9 g(S<e>)10template <int I> void g (S<e>) {} 11 template void g<7>(S<e>); 12 h(S<I+1>)13template <int I> void h (S<I + 1>) {} 14 template void h<7>(S<7 + 1>); 15 16 // { dg-final { scan-assembler _Z1fILi7EEv1SILi4EE } } 17 // { dg-final { scan-assembler _Z1gILi7EEv1SILi3EE } } 18 // { dg-final { scan-assembler _Z1hILi7EEv1SIXplT_Li1EEE } } 19