summaryrefslogtreecommitdiffstats
path: root/test/Lexer/newline-eof.c
blob: 825a266a0a36445308a76eb2d837f476ee3941b4 (plain)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only -Wnewline-eof -verify %s
// rdar://9133072

// The following line isn't terminated, don't fix it.
void foo() {} // expected-warning{{no newline at end of file}}