]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Lexer/eof-number.c
Vendor import of clang trunk r238337:
[FreeBSD/FreeBSD.git] / test / Lexer / eof-number.c
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