Debian Codegraph @

clang/test/AST/Interp/ms.cpp

raw
1 // RUN: %clang_cc1 -verify=ref,both %s -fms-extensions
2 // RUN: %clang_cc1 -verify=expected,both %s -fexperimental-new-constant-interpreter -fms-extensions
3
4 // ref-no-diagnostics
5 // expected-no-diagnostics
6
7 /// Used to assert because the two parameters to _rotl do not have the same type.
8 static_assert(_rotl(0x01, 5) == 32);
9
10 static_assert(alignof(__unaligned int) == 1, "");