repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
extra: fix returned_struct_members()
[smatch.git]
/
validation
/
__func__.c
blob
65ce92825f4cc94b3d331a2b7c078faebf81065e
1
static void
f
(
void
)
2
{
3
char
*
s1
=
__func__
;
4
char
arr
[
2
* (
sizeof
__func__
==
2
) -
1
];
5
char
*
s2
=
__func__ __func__
;
6
}
7
/*
8
* check-name: __func__
9
* check-command: sparse -Wall $file
10
*
11
* check-error-start
12
__func__.c:5:29: error: Expected ; at end of declaration
13
__func__.c:5:29: error: got __func__
14
* check-error-end
15
*/