1 /* { dg-do compile } */
2 /* { dg-options "-O" } */ // such that static functions are optimized out
3 /* { dg-final { scan-assembler "func1" } } */
4 /* { dg-final { scan-assembler "func2" } } */
5 /* { dg-final { scan-assembler-not "func3" } } */
6 /* { dg-final { scan-assembler "func4" } } */
7 /* { dg-final { scan-assembler "func5" } } */
9 template <typename T> struct gnu_test {
17 #define defpfx template <typename T>
18 #define IN_CLASS gnu_test<T>
20 #include "gnu-inline-global.C"
22 template struct gnu_test<int>;