-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
2,391 additions
and
2,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,4 @@ | ||
| ||
//C23 u8 character prefix | ||
//https://open-std.org/JTC1/SC22/WG14/www/docs/n2418.pdf | ||
|
||
static_assert(u8'÷' == 0xF7); | ||
#pragma cake diagnostic check "-E1360" | ||
|
||
static_assert(u8'ab'); | ||
#pragma cake diagnostic check "-E1370" | ||
|
||
static_assert(u8'¡' != 0); | ||
#pragma cake diagnostic check "-E1360" | ||
|
||
|
||
static_assert(u8'~' == '~'); | ||
static_assert(_Generic(typeof(u8'~'), unsigned char : 1 , default: 0)); | ||
|
||
int main(){ | ||
unsigned char c = u8'~'; | ||
} | ||
int main(){ | ||
int i = 0; | ||
if (i); // empty controlled statement found; is this the intent? | ||
} |
Oops, something went wrong.