Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
2a857180050fb78b356c17931e311eef7f2daf3e
/
.
/
test
/
Lexer
/
newline-eof-c++98-compat.cpp
blob: 3e5c8e2262351a2a334bb2e065cbe75ea13560da [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -Wc++98-compat-pedantic -std=c++11 -verify %s
// The following line isn't terminated, don't fix it.
void
foo
()
{}
// expected-warning{{C++98 requires newline at end of file}}