aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/spurious-regparm.c
blob: d7b09ec8f87e007adcf64519ea687c224ab11394 (plain)
1
2
3
4
// RUN: %clang_cc1 -triple armv8.1m.main-eabi -mcmse %s -ast-dump | FileCheck %s
// REQUIRES: arm-registered-target
typedef int (*fn_t)(int) __attribute__((cmse_nonsecure_call));
// CHECK-NOT: regparm 0