There was an error while loading. Please reload this page.
1 parent 149c8fb commit 0968eaaCopy full SHA for 0968eaa
1 file changed
test/testtokenize.cpp
@@ -955,15 +955,14 @@ class TestTokenizer : public TestFixture {
955
"namespace N {\n"
956
" using namespace O;\n"
957
" enum class E { E0 };\n"
958
- " int E0 = E::E0;\n"
+ " E E0 = E::E0;\n"
959
"}\n";
960
const char expected[] = "2: namespace N {\n"
961
"3: using namespace O ;\n"
962
"4: enum class E { E0 } ;\n"
963
- "5: int E0@1 ; E0@1 = E :: E0 ;\n"
+ "5: E E0@1 ; E0@1 = E :: E0 ;\n"
964
"6: }\n";
965
ASSERT_EQUALS(expected, tokenizeDebugListing(code));
966
- (void)errout_str();
967
}
968
969
void validate() {
0 commit comments