mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Added long-line test case to QuickParseASTTests.
This commit is contained in:
parent
167dd473b8
commit
70f786631a
1 changed files with 10 additions and 0 deletions
|
@ -2254,4 +2254,14 @@ public class QuickParseASTTests extends BaseASTTest
|
||||||
{
|
{
|
||||||
parse( "const char * x = __FILE__;"); //$NON-NLS-1$
|
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() );
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue