Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
ba8be8c422064b9bda68bdfa28d7f2775e9147f4
/
.
/
test
/
Lexer
/
newline-eof-c++98-compat.cpp
blob: 7f7eebbad7d3949ac7761bb6c35a25733361f28e [
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}}