blob: 1d75d153a2c19a1d76f0b110071ba2c37a20e099 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fdump-tree-tmedge" } */
int i;
extern void virgin () __attribute__((transaction_pure));
foo()
{
__transaction_atomic {
virgin(i);
}
}
/* { dg-final { scan-tree-dump-times "readOnly" 1 "tmedge" } } */
/* { dg-final { cleanup-tree-dump "tmedge" } } */