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:
parent
c4e4e61e3f
commit
a63a250e0b
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue