mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-04 02:54:42 +08:00
18 lines
233 B
C
18 lines
233 B
C
/**
|
|
* @file ignore_assert.c
|
|
* @brief Ignore assertion
|
|
* @author Light-City
|
|
* @version v1
|
|
* @date 2019-07-25
|
|
*/
|
|
|
|
#define NDEBUG // ignore assertion
|
|
|
|
#include<assert.h>
|
|
|
|
int main(){
|
|
int x=7;
|
|
assert(x==5);
|
|
return 0;
|
|
}
|