Seth Cantrell | d555222 | 2012-04-13 01:00:34 +0000 | [diff] [blame] | 1 | // RUN: %clang -cc1 -fsyntax-only -Wnewline-eof -verify %s |
Anna Zaks | cfe1bcb | 2011-07-22 23:08:19 +0000 | [diff] [blame] | 2 | // rdar://9133072 |
3 | |||||
4 | // The following line isn't terminated, don't fix it. | ||||
Seth Cantrell | d555222 | 2012-04-13 01:00:34 +0000 | [diff] [blame] | 5 | void foo() {} // expected-warning{{no newline at end of file}} |