1 // RUN: %clang_cc1 %s -verify -fsyntax-only -Wnewline-eof
2 // vim: set binary noeol:
3 
4 // This file intentionally ends without a \n on the last line.  Make sure your
5 // editor doesn't add one.
6 
7 // expected-error@+2{{unterminated conditional directive}}
8 // expected-warning@+1{{no newline at end of file}}
9 #if 0