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