aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cases/compile_errors/calling_function_with_naked_calling_convention.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cases/compile_errors/calling_function_with_naked_calling_convention.zig b/test/cases/compile_errors/calling_function_with_naked_calling_convention.zig
index 2bd0364d4f..ea4e42f15d 100644
--- a/test/cases/compile_errors/calling_function_with_naked_calling_convention.zig
+++ b/test/cases/compile_errors/calling_function_with_naked_calling_convention.zig
@@ -1,11 +1,11 @@
export fn entry() void {
foo();
}
-fn foo() callconv(.Naked) void {}
+fn foo() callconv(.naked) void {}
// error
// backend=llvm
// target=native
//
-// :2:5: error: unable to call function with naked calling convention
+// :2:5: error: unable to call function with calling convention 'naked'
// :4:1: note: function declared here