-
-
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
23 changed files
with
5,705 additions
and
4,708 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
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,9 +1,10 @@ | ||
//This was generated by running cake -autoconfig | ||
This file was generated reading the output of | ||
//echo | gcc -v -E - 2>&1 | ||
|
||
#pragma dir "/usr/lib/gcc/x86_64-linux-gnu/11/include" | ||
#pragma dir "/usr/local/include" | ||
#pragma dir "/usr/include/x86_64-linux-gnu" | ||
#pragma dir "/usr/include" | ||
|
||
//This file was generated reading the variable INCLUDE inside Visual Studio Command Prompt. | ||
//echo %INCLUDE% | ||
#pragma dir "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/include/" | ||
#pragma dir "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/VS/include/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/ucrt/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22621.0//um/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22621.0//shared/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22621.0//winrt/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22621.0//cppwinrt/" |
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,3 +1,5 @@ | ||
#pragma safety enable | ||
|
||
#include "constant_value.h" | ||
#include <limits.h> | ||
#include <stdio.h> | ||
|
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,4 +1,20 @@ | ||
| ||
| ||
//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(){ | ||
int i = L'🍌'; | ||
} | ||
unsigned char c = u8'~'; | ||
} |
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
Oops, something went wrong.