File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ let init_lexicon _ =
183183 (" __typeof" , fun loc -> TYPEOF loc);
184184 (" typeof" , fun loc -> TYPEOF loc);
185185 (" __alignof" , fun loc -> ALIGNOF loc);
186+ (" _Alignof" , fun loc -> ALIGNOF loc);
186187 (" __alignof__" , fun loc -> ALIGNOF loc);
187188 (" __volatile__" , fun loc -> VOLATILE loc);
188189 (" __volatile" , fun loc -> VOLATILE loc);
Original file line number Diff line number Diff line change 1+ #include "testharness.h"
2+ #include <stdnoreturn.h>
3+
4+
5+ int main () {
6+ int x = _Alignof (int );
7+ SUCCESS ;
8+ }
Original file line number Diff line number Diff line change @@ -699,6 +699,7 @@ sub addToGroup {
699699addTest(" testrunc11/c11-noreturn" );
700700addTest(" testrunc11/c11-atomic" );
701701addTest(" testrunc11/c11-static-assert" );
702+ addTest(" testrunc11/c11-static-align-of" );
702703addTest(" testrunc11/gcc-c11-generic-1" );
703704# TODO: these messages are not even checked?
704705addTestFail(" testc11/gcc-c11-generic-2-1" , " Multiple defaults in generic" );
You can’t perform that action at this time.
0 commit comments