(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr96802-2.c
       1  /* { dg-do compile } */
       2  
       3  /* Reject the negated form of non-negatable pragma target.  */
       4  
       5  #pragma GCC push_options
       6  #pragma GCC target("no-general-regs-only")
       7  
       8  int
       9  foo (int a)
      10  {
      11    return a + 1;
      12  }
      13  
      14  #pragma GCC pop_options
      15  
      16  /* { dg-error "does not allow a negated form" "" { target *-*-* } 0 } */