mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
11 lines
256 B
C
11 lines
256 B
C
fault Error
|
|
{
|
|
ABC
|
|
}
|
|
|
|
typedef Foo1 = distinct Error; // #error: You cannot create a distinct type
|
|
|
|
typedef Foo3 = distinct void; // #error: create a distinct type from 'void'
|
|
|
|
typedef Foo4 = distinct typeid; // #error: create a distinct type from 'typeid'
|