hanchenye-llvm-project/clang/test/Sema/promote-int-16bit.c

7 lines
239 B
C

// 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;