repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Frontend
/
warning-mapping-6.c
blob
ea22f72cc964ca1b2886197e79c445ecd3a9b815
1
// Check that "#pragma diagnostic error" is suppressed by -w.
2
//
3
// RUN: %clang_cc1 -verify -Werror -w %s
4
5
// expected-no-diagnostics
6
#pragma gcc diagnostic error
"-Wsign-compare"
7
int
f0
(
int
x
,
unsigned
y
) {
8
return
x
<
y
;
9
}