Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 %s -emit-llvm -o - -fms-extensions -triple i686-pc-win32 | FileCheck %s
      2 
      3 // CHECK-LABEL: define void @test_alloca
      4 void capture(void *);
      5 void test_alloca(int n) {
      6   capture(_alloca(n));
      7   // CHECK: %[[arg:.*]] = alloca i8, i32 %
      8   // CHECK: call void @capture(i8* %[[arg]])
      9 }
     10