diff --git a/interpreter/cling/test/ErrorRecovery/NestedTags.C b/interpreter/cling/test/ErrorRecovery/NestedTags.C
index e2ce38fea70df261a1556ab43580d17905058b32..813b3f388d5ae052c88acf51f0b7b77a92c78e08 100644
--- a/interpreter/cling/test/ErrorRecovery/NestedTags.C
+++ b/interpreter/cling/test/ErrorRecovery/NestedTags.C
@@ -1,23 +1,34 @@
 // RUN: cat %s | %cling -Xclang -verify 2>&1 | FileCheck %s
 
 // Tests the removal of nested decls 
-
 .storeState "testNestedDecls1"
 struct Outer { struct Inner { enum E{i = 1}; }; };error_here; // expected-error {{use of undeclared identifier 'error_here'}}
 .compareState "testNestedDecls1"
+// CHECK-NOT: Differences
+
+.rawInput 1
+.storeState "parentLookupTables"
+enum AnEnum {
+   aa = 3,
+   bb = 4,
+ }; error_here; // expected-error {{C++ requires a type specifier for all declarations}}
+.compareState "parentLookupTables"
+.rawInput 0
+// CHECK-NOT: Differences
 
 .rawInput
 namespace Outer { struct Inner { enum E{i = 2}; }; }; 
 .rawInput
 
-Outer::Inner::i
-// CHECK: (Outer::Inner::E::i) : (int) 2
-
 enum A{a};
 
 .storeState "testNestedDecls2"
 enum A{a}; // expected-error {{redefinition of 'A'}} expected-note {{previous definition is here}}
 .compareState "testNestedDecls2"
 // CHECK-NOT: Differences
+
+Outer::Inner::i
+// CHECK: (Outer::Inner::E::i) : (int) 2
+
 a // CHECK: (enum A) (A::a) : (int) 0
 .q