1 /* { dg-do compile } */
2 /* { dg-require-effective-target tls_native } */
3 /* { dg-options "-O2 -fstack-protector-all -mstack-protector-guard=tls -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=my_guard" } */
4 
f(void)5 void f(void) { }
6 
7 /* { dg-final { scan-assembler "gs:my_guard" } } */
8