llvm-project/clang/test/CodeGen/kr-func-promote.c

7 lines
145 B
C

// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
// CHECK: i32 @a(i32)
int a();
int a(x) short x; {return x;}