Set target in test.

This commit is contained in:
Christoffer Lerno
2026-01-29 02:30:06 +01:00
parent 32b1df0f86
commit 084d5cbc94
2 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
macro test(x)
{
}
fn int main()
{
test($typeof({})?); // #error: You cannot take the typeid of a compile time type
return 0;
}