diff --git a/clang/test/CodeGenObjC/encode-test-2.m b/clang/test/CodeGenObjC/encode-test-2.m index 9e1423755a79a..2985fbda18623 100644 --- a/clang/test/CodeGenObjC/encode-test-2.m +++ b/clang/test/CodeGenObjC/encode-test-2.m @@ -1,9 +1,10 @@ -// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o %t %s -// RUN: grep -e "@\\\22\\\22" %t -// RUN: grep -e "@\\\22\\\22" %t -// RUN: grep -e "@\\\22\\\22" %t -// RUN: grep -e "@\\\22Foo\\\22" %t -// RUN: grep -e "{Intf=@@@@#}" %t +// RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s + +// CHECK: private unnamed_addr constant [7 x i8] c"@\22\22\00", +// CHECK: private unnamed_addr constant [10 x i8] c"@\22\22\00", +// CHECK: private unnamed_addr constant [13 x i8] c"@\22\22\00", +// CHECK: private unnamed_addr constant [16 x i8] c"@\22Foo\22\00", +// CHECK: private unnamed_addr constant [13 x i8] c"{Intf=@@@@#}\00", @protocol X, Y, Z; @class Foo;