2 // Implicitly instantiated templates should not be affected by
5 /* { dg-do compile } */
6 /* { dg-require-visibility "" } */
7 /* { dg-final { scan-not-hidden "_ZN1SIiED1Ev" } } */
8 /* { dg-final { scan-not-hidden "_ZN1SIiEC1ERKi" } } */
29 #pragma GCC visibility push(hidden)
35 #pragma GCC visibility pop