Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tm/unused.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-fgnu-tm -Wall" } */ __attribute__((transaction_safe)) static int unused_func () /* { dg-warning "defined but not used" } */ { return 12345; } int main() { return 0; } /* { dg-final { scan-assembler "_ZGTt11unused_func:" } } */