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 20:11:17 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
460c0d04d79659099bdf6fc57fd4c1dac567af3d
c3c/test/test_suite/errors/error_decl_fails.c3
Christoffer Lerno ed01616f1e Changed how structs/unions are parsed so that recovery becomes more robust. Allow for more complex error data. Fixed recursive structs/unions. Corrected prefix precedence rules. Begin work on checking initializer constant-ness. Fixed error on failed arithmetic promotion. Added checks on constant overflow of sub/add/mult. Allow "current_module_name::x" to refer to globals. Added many tests.
2020-07-23 18:04:18 +02:00

12 lines
126 B
Plaintext
Raw Blame History

module foo;
error TheError
{
union // #error: A type name was expected here
{
int a;
int b;
}
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.24.4 Page: 158ms Template: 4ms
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