gcc/testsuite/gcc.dg/plugin/diagnostic-test-xhtml-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | int missing_semicolon (void) |
| 4 | { |
| 5 | return 42 |
| 6 | } |
| 7 | |
| 8 | /* Verify some properties of the generated HTML. */ |
| 9 | |
| 10 | /* { dg-begin-multiline-output "" } |
| 11 | <?xml version="1.0" encoding="UTF-8"?> |
| 12 | <!DOCTYPE html |
| 13 | PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| 14 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 15 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 16 | <head> |
| 17 | { dg-end-multiline-output "" } */ |
| 18 | |
| 19 | /* { dg-excess-errors "" } */ |