1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -fms-extensions -verify %s 2 // expected-no-diagnostics 3 4 #ifdef __SIZEOF_INT8__ 5 static_assert(sizeof(0i8) == __SIZEOF_INT8__, ""); 6 #endif 7 #ifdef __SIZEOF_INT16__ 8 static_assert(sizeof(0i16) == __SIZEOF_INT16__, ""); 9 #endif 10 #ifdef __SIZEOF_INT32__ 11 static_assert(sizeof(0i32) == __SIZEOF_INT32__, ""); 12 #endif 13 #ifdef __SIZEOF_INT64__ 14 static_assert(sizeof(0i64) == __SIZEOF_INT64__, ""); 15 #endif 16 #ifdef __SIZEOF_INT128__ 17 static_assert(sizeof(0i128) == __SIZEOF_INT128__, ""); 18 #endif 19