brintos

brintos / llvm-project-archived public Read only

0
0
Text · 296 B · a9393d4 Raw
11 lines · c
1// RUN: %clang_cc1 -triple arm64-windows-msvc -emit-llvm -o - %s | FileCheck %s2 3#include <stdarg.h>4 5int simple_int(va_list ap) {6// CHECK-LABEL: define dso_local i32 @simple_int7  return va_arg(ap, int);8// CHECK: [[RESULT:%[a-z_0-9]+]] = load i32, ptr %argp.cur9// CHECK: ret i32 [[RESULT]]10}11