diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java index 55c9051e79a..3e4f78b5d6f 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/QuickParseASTTests.java @@ -2254,4 +2254,14 @@ public class QuickParseASTTests extends BaseASTTest { parse( "const char * x = __FILE__;"); //$NON-NLS-1$ } + + public void testBug68116() throws Exception + { + StringBuffer buffer = new StringBuffer( "char dummy[] = \"0123456789" ); //$NON-NLS-1$ + for( int i = 0; i < 5000; ++i ) + buffer.append( "0123456789"); //$NON-NLS-1$ + buffer.append( "\";"); //$NON-NLS-1$ + parse( buffer.toString() ); + } + } \ No newline at end of file