summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr34351.c
blob: f407170821cec22719c0633148b20cc7a36d9cbc (plain)
1
2
3
4
/* { dg-do compile  { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-Wall" } */

register int * volatile x asm ("ebx"); /* { dg-warning "optimization may eliminate reads and/or writes to register variables" } */