Skip to content

Commit

Permalink
Test case for Node_TypeParam assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardmembarth committed Jan 23, 2016
1 parent 706e7c8 commit 93237d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/codegen/bitcast.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

extern "thorin" {
fn bitcast[D, S](S) -> D;
}
Expand Down
7 changes: 7 additions & 0 deletions test/codegen/ldg.impala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extern "C" {
fn __ldg[T](&T) -> T;
}

fn main(x: &int) -> int {
__ldg(x)
}

0 comments on commit 93237d5

Please sign in to comment.