aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer/eof-number.c
blob: d97a6fec4b0458723d5cacf573071168f6e60e9c (plain) (blame)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 %s -verify -fsyntax-only -Wnewline-eof
// vim: set binary noeol:

// This file intentionally ends without a \n on the last line.  Make sure your
// editor doesn't add one.

// expected-error@+2{{unterminated conditional directive}}
// expected-warning@+1{{no newline at end of file}}
#if 0