昨天我试图在我的工作树中注入编译错误.通常我使用#error来生成编译错误.但我尝试了#1,但它不起作用.这可能是什么原因?
t1.c
#include <stdio.h>
int main (){
#error
}
**compilation error**
t1.c:3:3: error:
#error
t2.c
#include <stdio.h>
int main (){
#1
}
But there is no compilation error in t2.c
Run Code Online (Sandbox Code Playgroud)