1  /* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */
       2  /* { dg-set-compiler-env-var GCC_CPUINFO "$srcdir/gcc.target/aarch64/cpunative/info_22" } */
       3  /* { dg-additional-options "-mcpu=native" } */
       4  
       5  int main()
       6  {
       7    return 0;
       8  }
       9  
      10  /* { dg-final { scan-assembler {\.arch armv8-a\+crc\+lse\+rcpc\+rdma\+dotprod\+fp16fml\+sb\+ssbs\+sve2-sm4\+sve2-aes\+sve2-sha3\+sve2-bitperm\+i8mm\+bf16\+flagm\+pauth\n} } } */
      11  
      12  /* Check that an Armv8-A core doesn't fall apart on extensions without midr
      13     values and that it enables optional features.  */