blob: df94d8c9d6d05ba06d117857538fda811b6eb06f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifdef __CHECKER__
#define __bitwise __attribute__((bitwise))
#else
#define __bitwise
#endif
typedef __INT16_TYPE__ __bitwise __be16;
static __be16 foo(void)
{
__be16 val = 0;
return val;
}
/*
* check-name: assign-restricted-ok
* check-command: test-linearize -fdump-ir $file
*
* check-output-ignore
* check-output-contains: store\\.16
* check-output-excludes: store\\.32
*/
|