Logo
Explore Help
Register Sign In
shishantbiswas/c3c
1
1
Fork 0
You've already forked c3c
mirror of https://github.com/c3lang/c3c.git synced 2026-02-27 12:01:16 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
8aaf54e8b14f83fafbc02d716f83e471cb02292a
c3c/test/test_suite/bitstruct/bitstruct_simple_err_decl.c3
Christoffer Lerno 809321e20c Updated grammar. Removal of elif. Removal of ':' ';' in some ct statements. Empty faults is now an error. Remove "define" for types. Remove "private". Better errors on incorrect bitstruct syntax. Introduction of wildcard type rather than optional wildcard. Removal of scaled vector type. mkdir and rmdir. Disallow define @Foo() = { @inline }. Add handling for @optreturn and change it to @return!. Restrict interface style functions. Updated x64 ABI. stdlib updates to string. Removed deprecated functions. Update how variadics are implemented. Extended error messages. x86 ABI fixes. Shift check fixes. '!' and '?' are flipped. No trailing ',' allowed in functions. Fix to string parsing. Allow l suffix. Simplifying flatpath. any replaces variant, anyfault replaces anyerr. Allow getting the underlying type of anyfault. De-duplicate string constants. Fix of readme. Extended list. Fix of "(MyEnum)x + 1". Clock and DateTime types. Fixes to array concat.
2023-04-21 10:56:39 +02:00

11 lines
181 B
Plaintext
Raw Blame History

bitstruct Foo : char
{
bool a : 1;
bool b; // #error: remove ranges from the other member
}
bitstruct Foo2 : char
{
bool a;
bool b : 1; // #error: ranges to all other members
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.24.4 Page: 157ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API