summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/c-strings.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-12-22 00:07:40 +0000
committerdim <dim@FreeBSD.org>2013-12-22 00:07:40 +0000
commit952eddef9aff85b1e92626e89baaf7a360e2ac85 (patch)
treedf8df0b0067b381eab470a3b8f28d14a552a6340 /test/CodeGen/c-strings.c
parentea266cad53e3d49771fa38103913d3ec7a166694 (diff)
downloadFreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.zip
FreeBSD-src-952eddef9aff85b1e92626e89baaf7a360e2ac85.tar.gz
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
https://llvm.org/svn/llvm-project/cfe/branches/release_34@197841
Diffstat (limited to 'test/CodeGen/c-strings.c')
-rw-r--r--test/CodeGen/c-strings.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/c-strings.c b/test/CodeGen/c-strings.c
index 60a6b01..ff86619 100644
--- a/test/CodeGen/c-strings.c
+++ b/test/CodeGen/c-strings.c
@@ -19,13 +19,13 @@ unsigned char align = 1;
void bar(const char *);
-// CHECK: define void @f0()
+// CHECK-LABEL: define void @f0()
void f0() {
bar("hello");
// CHECK: call void @bar({{.*}} @.str
}
-// CHECK: define void @f1()
+// CHECK-LABEL: define void @f1()
void f1() {
static char *x = "hello";
bar(x);
@@ -33,14 +33,14 @@ void f1() {
// CHECK: call void @bar(i8* [[T1:%.*]])
}
-// CHECK: define void @f2()
+// CHECK-LABEL: define void @f2()
void f2() {
static char x[] = "hello";
bar(x);
// CHECK: call void @bar({{.*}} @f2.x
}
-// CHECK: define void @f3()
+// CHECK-LABEL: define void @f3()
void f3() {
static char x[8] = "hello";
bar(x);
@@ -49,7 +49,7 @@ void f3() {
void gaz(void *);
-// CHECK: define void @f4()
+// CHECK-LABEL: define void @f4()
void f4() {
static struct s {
char *name;
OpenPOWER on IntegriCloud