From 4de207cd42aeb9c7977dfca932b8849b5fe7aa1f Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Tue, 31 Jan 2023 15:28:29 +0400 Subject: [PATCH] Fix LLVM build. --- user/div0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/div0.c b/user/div0.c index 76c2038..e633708 100644 --- a/user/div0.c +++ b/user/div0.c @@ -1,5 +1,5 @@ int main(void) { volatile int x = 1, y = 0; x /= y; - return 0; + return x; }