aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-11-03 14:27:09 +0100
committerGitHub <noreply@github.com>2024-11-03 14:27:09 +0100
commit3054486d1dedd49553680da2c074d1ab413797fd (patch)
tree79c3d4e9b417d14ddb11a47e26da083d5e06e8aa /test
parent2f003f39b28176f08de51271eb66b5f3a54c7aae (diff)
parente4e3d7ab4140ae6f078d3ffd72fce4c0a5e6e59f (diff)
downloadzig-3054486d1dedd49553680da2c074d1ab413797fd.tar.gz
zig-3054486d1dedd49553680da2c074d1ab413797fd.zip
Merge pull request #21843 from alexrp/callconv-followup
Some follow-up work for #21697
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