From 4a8b33b878723fa9b2b258594d34a3912e61b87a Mon Sep 17 00:00:00 2001 From: CristinaCristescu Date: Fri, 25 Oct 2013 15:23:21 +0200 Subject: [PATCH] ErrorRecovery test. --- test/ErrorRecovery/Redeclarables.C | 2 +- test/ErrorRecovery/SubsequentDecls.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ErrorRecovery/Redeclarables.C b/test/ErrorRecovery/Redeclarables.C index 580c0eb0..442699c4 100644 --- a/test/ErrorRecovery/Redeclarables.C +++ b/test/ErrorRecovery/Redeclarables.C @@ -1,4 +1,4 @@ -// RUN: cat %s | %cling -I%p -Xclang -verify 2>&1 | +// RUN: cat %s | %cling -I%p -Xclang -verify 2>&1 | FileCheck %s // Test the removal of decls from the redeclaration chain, which are marked as // redeclarables. diff --git a/test/ErrorRecovery/SubsequentDecls.C b/test/ErrorRecovery/SubsequentDecls.C index 0a9612fb..fc83cbf5 100644 --- a/test/ErrorRecovery/SubsequentDecls.C +++ b/test/ErrorRecovery/SubsequentDecls.C @@ -21,7 +21,7 @@ int OverloadedF(int i) { return i + 100;} .rawInput 0 int __my_i = 10 -// CHECK: (int) 10 +// CHECK: (int) 1 OverloadedF(__my_i) // CHECK: (int) 110 TemplatedF(__my_i)