aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr84742-2.c
blob: 7ac9cea675c3d4a48114cddd66e54f69072228d7 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR inline-asm/84742 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

void 
foo ()
{
  char b = 1;
  asm volatile ("" : "+gT,m" (b));	/* { dg-error "impossible constraint in 'asm'" } */
}