// RUN: %clang_cc1 -triple aarch64-linux-gnu -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECKC
// RUN: %clang_cc1 -triple aarch64-linux-gnu -emit-llvm -x c++ -o - %s | FileCheck %s -check-prefix=CHECKCXX
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -verify %s
void ; // expected-warning {{'aarch64_sve_pcs' calling convention is not supported for this target}}
// CHECKC: define{{.*}} void @g(
// CHECKCXX: define{{.*}} void @_Z1gPi(
void
// CHECKC: declare aarch64_sve_vector_pcs void @f(
// CHECKCXX: declare aarch64_sve_vector_pcs void @_Z1fPi
void