1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/FrontendC/cstring-align.c

12 lines
293 B
C
Raw Normal View History

// RUN: %llvmgcc %s -S -Os -o - | llc -march=x86 -mtriple=i386-apple-darwin10 | FileCheck %s
2009-11-20 01:32:16 +01:00
extern void func(const char *, const char *);
void long_function_name() {
func("%s: the function name", __func__);
}
// CHECK: .align 4
// CHECK: ___func__.
// CHECK: .asciz "long_function_name"