(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
asm-6.c
       1  /* Check error messages for named asm operands.  */
       2  void foo ()
       3  {
       4    int i;
       5    __asm__ ("" : [data] "=r" (i) : [data] "i" (100)); /* { dg-error "duplicate 'asm' operand" } */
       6    __asm__ ("%[foo]" :: [bar] "i" (1)); /* { dg-error "undefined named operand" } */
       7  }