2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple pic16-unknown-unknown
|
2009-08-19 15:44:53 +08:00
|
|
|
|
|
|
|
// 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;
|