summaryrefslogtreecommitdiffstats
path: root/test/Sema/builtins-arm-strex-rettype.c
blob: 4ee96ce3277ebfc5016e1bb78764c42461e53478 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -triple thumbv7m-apple-darwin-eabi -ast-dump %s | FileCheck %s

// CHECK: CallExpr {{.*}} 'int'

void foo(int a, int *b) {
  do {
  } while (__builtin_arm_strex(a, b));
}