Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
Signed-off-by: Engin Kayraklioglu <[email protected]>
  • Loading branch information
e-kayrakli committed Mar 20, 2024
1 parent 2372a45 commit ae43487
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/interop/C/errorMessage/errorInArgNMismatch.chpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require "errorInArgNMismatch.h";

export proc foo(x : real) { }

1 change: 1 addition & 0 deletions test/interop/C/errorMessage/errorInArgNMismatch.good
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
errorInArgNMismatch.chpl:3: error: Argument number mismatch in export proc
4 changes: 4 additions & 0 deletions test/interop/C/errorMessage/errorInArgNMismatch.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#pragma once

void foo(void);

0 comments on commit ae43487

Please sign in to comment.