* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / unused.c
blob7c8aa3e778ddc63d94d0eac091867d07a195ec8b
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -Wall" } */
4 __attribute__((transaction_safe))
5 static int unused_func () /* { dg-warning "defined but not used" } */
7 return 12345;
10 int main()
12 return 0;
15 /* { dg-final { scan-assembler "_ZGTt11unused_func:" } } */