mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00

To do this, thread DiagnosticErrorTrap's hasUnrecoverableErrorOccurred through to Scope. llvm-svn: 178294
7 lines
160 B
C
7 lines
160 B
C
// RUN: %clang_cc1 -fsyntax-only -Wunused-variable -Werror -verify %s
|
|
|
|
void f() {
|
|
int i; // expected-error{{unused}}
|
|
int j; // expected-error{{unused}}
|
|
}
|