1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Added long-line test case to QuickParseASTTests.

This commit is contained in:
John Camelon 2004-06-22 15:15:58 +00:00
parent 167dd473b8
commit 70f786631a

View file

@ -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() );
}
}