xref: /llvm-project/clang/test/AST/ast-dump-ptrauth-json.cpp (revision 666e3326fedfb6a033494c36c36aa95c4124d642)
1 // RUN: %clang_cc1 -triple arm64-apple-ios -fptrauth-calls -fptrauth-intrinsics -std=c++11 -ast-dump=json %s | FileCheck %s
2 
3 // CHECK: "name": "__builtin_ptrauth_type_discriminator",
4 
5 int d = __builtin_ptrauth_type_discriminator(int());
6