aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/cstring-align.c
blob: 544c9f3d3fbb2ead909a3f5f81113291bdfe29fe (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc %s -S -Os -o - | llc -march=x86 -mtriple=i386-apple-darwin10 | FileCheck %s

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"