Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
5ccfdd8d215c7bf324a14523c71ed328325c2bc8
/
.
/
test
/
Sema
/
promote-int-16bit.c
blob: 6446720a815e75fe411fd50cab7c4ec7fb4250aa [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -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
;