summaryrefslogtreecommitdiffstats
path: root/test/Sema/promote-int-16bit.c
blob: 6446720a815e75fe411fd50cab7c4ec7fb4250aa (plain)
1
2
3
4
5
6
// 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;
OpenPOWER on IntegriCloud