1  /* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */
       2  /* { dg-set-compiler-env-var GCC_CPUINFO "$srcdir/gcc.target/aarch64/cpunative/info_20" } */
       3  /* { dg-additional-options "-mcpu=native" } */
       4  
       5  int main()
       6  {
       7    return 0;
       8  }
       9  
      10  /* { dg-final { scan-assembler {\.arch armv9-a\+crc\+profile\+memtag\+sve2-sm4\+sve2-aes\+sve2-sha3\+sve2-bitperm\+i8mm\+bf16\n} } } */
      11  
      12  /* Check whether features that don't have a midr name during detection are
      13     correctly ignored.  These features shouldn't affect the native detection.
      14     This particular test checks that predres is not turned off during
      15     detection.   */