Skip to content

Commit

Permalink
add test for 15562
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
  • Loading branch information
jabraham17 committed Jul 9, 2024
1 parent 82ba016 commit 06d7e39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/types/records/generic/genericRecordInFunction.chpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
proc foo(args) {
record R {
var x: args.type;
}
}
foo(1);
1 change: 1 addition & 0 deletions test/types/records/generic/genericRecordInFunction.good
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
genericRecordInFunction.chpl:3: error: could not determine the concrete type for the generic return type '<any type>'

0 comments on commit 06d7e39

Please sign in to comment.