1 // -*- coding: utf-8 -*-
2
3 /*
4 * Test for bug #15890. Ctags and JFlex do not agree on line
5 * numbering. JFlex regards \u000B, \u000C, \u0085, \u2028 and \u2029
6 * as line terminator, whereas ctags doesn't. If one of these
7 * characters occurred in a file, definitions that came after it would
8 * not be recognized as definitions by the xrefs, since the line
9 * numbers didn't match what ctags returned.
10 */
11
12 /* This line contains \u000B: */
13
14 /* This line contains \u000C: */
15
16 /* This line contains \u0085:
*/
17
18 /* This line contains \u2028:
*/
19
20 /* This line contains \u2029:
*/
21
22 /*
23 * Now add a definition for the tests to check.
24 */
25
bug15890(int x)26 int bug15890(int x)
27 {
28 return x+1;
29 }
30