diff clang/test/CodeGen/builtins-riscv.c @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 79ff65ed7e25
children 1f2b6ac9f198
line wrap: on
line diff
--- a/clang/test/CodeGen/builtins-riscv.c	Wed Jul 21 10:27:27 2021 +0900
+++ b/clang/test/CodeGen/builtins-riscv.c	Wed Nov 09 17:45:10 2022 +0900
@@ -1,7 +1,7 @@
 // RUN: %clang_cc1 -Wall -Wno-unused-but-set-variable -Werror -triple riscv32 -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s
 // RUN: %clang_cc1 -Wall -Wno-unused-but-set-variable -Werror -triple riscv64 -disable-O0-optnone -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s
 
-void test_eh_return_data_regno() {
+void test_eh_return_data_regno(void) {
   // CHECK: store volatile i32 10
   // CHECK: store volatile i32 11
   volatile int res;