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
/
Parser
/
argument_redef.c
blob
519e8fd2033f8451ac75f71037c9880797993799
1
/* RUN: %clang_cc1 -fsyntax-only -verify %s
2
*/
3
4
void
foo
(
int
A
) {
/* expected-note {{previous definition is here}} */
5
int
A
;
/* expected-error {{redefinition of 'A'}} */
6
}