1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

Testcase for 162410, scanner skips line after pragma

This commit is contained in:
Markus Schorn 2006-11-03 09:53:56 +00:00
parent c4e4e61e3f
commit a63a250e0b

View file

@ -2495,4 +2495,11 @@ public class Scanner2Test extends BaseScanner2Test
validateEOF();
}
public void testBug162410() throws Exception {
StringBuffer buffer = new StringBuffer();
buffer.append("#pragma message (\"test\") \n");
buffer.append("a \n");
initializeScanner(buffer.toString());
validateIdentifier("a");
}
}