diff options
Diffstat (limited to 'test/PCH/objc_literals.m')
-rw-r--r-- | test/PCH/objc_literals.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/PCH/objc_literals.m b/test/PCH/objc_literals.m index b73c3be..f96d4af 100644 --- a/test/PCH/objc_literals.m +++ b/test/PCH/objc_literals.m @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -emit-pch -o %t %s // RUN: %clang_cc1 -include-pch %t -verify %s -// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=PRINT %s -// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=IR %s +// RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s +// RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-IR %s // expected-no-diagnostics @@ -44,18 +44,18 @@ static inline void test_numeric_literals() { // CHECK-PRINT: id intlit = @17 // CHECK-IR: {{call.*17}} id intlit = @17; - // CHECK-PRINT: id floatlit = @17.45 + // CHECK-PRINT: id floatlit = @17.449999999999999 // CHECK-IR: {{call.*1.745}} id floatlit = @17.45; } static inline void test_array_literals() { - // CHECK-PRINT: id arraylit = @[ @17, @17.45 + // CHECK-PRINT: id arraylit = @[ @17, @17.449999999999999 id arraylit = @[@17, @17.45]; } static inline void test_dictionary_literals() { - // CHECK-PRINT: id dictlit = @{ @17 : {{@17.45[^,]*}}, @"hello" : @"world" }; + // CHECK-PRINT: id dictlit = @{ @17 : {{@17.449999999999999[^,]*}}, @"hello" : @"world" }; id dictlit = @{@17 : @17.45, @"hello" : @"world" }; } |