Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
0f9fed70cea107b3f79df554e38bd8e98d48fe47
/
.
/
test
/
Sema
/
promote-int-16bit.c
blob: fbd1215d90d2368a02800863011bae301265093f [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s -triple pic16-unknown-unknown
// Check that unsigned short promotes to unsigned int on targets where
// sizeof(unsigned short) == sizeof(unsigned int)
__typeof
(
1
+(
unsigned
short
)
1
)
x
;
unsigned
x
;