Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
083128f6b13dfa4fc615a838c49b516d901b1ac0
/
.
/
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
;