(root)/
gcc-13.2.0/
gcc/
testsuite/
c-c++-common/
pr92352.c
       1  /* PR inline-asm/92352 */
       2  
       3  void
       4  foo (int x)
       5  {
       6    int var[x];
       7    asm volatile ("" : "+r" (var));	/* { dg-error "impossible constraint in 'asm'" } */
       8  }					/* { dg-error "non-memory output 0 must stay in memory" "" { target *-*-* } .-1 } */
       9  
      10  void
      11  bar (int x)
      12  {
      13    int var[x];
      14    asm volatile ("" : "+m" (var));
      15  }