Skip to content

Commit

Permalink
issue #51, pull request #57:
Browse files Browse the repository at this point in the history
* mark broken tests
  • Loading branch information
leissa authored and stlemme committed Mar 21, 2017
1 parent 060a136 commit 4391604
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 22 deletions.
3 changes: 1 addition & 2 deletions test/codegen/bind_ret_inner_fn.impala
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// codegen

// codegen broken

fn f(b: bool, i: int) -> int {
fn F() -> ! { r(i-1) }
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/conversion_trait.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

trait Conv[T] {
fn conv(self: &Self) -> T;
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/endless_mangling.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn f(a: int, ret1: fn(int) -> !, ret2: fn(int) -> !) -> ! {
if a < 42 {
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/fold.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn seq(a: int, b: int) -> (int, fn(int, fn(int) -> ()) -> ()) {
fn stream(i: int, yield: fn(int) -> ()) -> () {
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/generic_get.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn get[T]() -> T {
let mut tuple: (T, T);
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/generic_while.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn generic_while[L, B](l : L,
head : fn(L) -> (B, bool),
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/ldg.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

extern "C" {
fn __ldg[T](&T) -> T;
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/mem2reg_bug2.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

// https://github.com/AnyDSL/thorin/issues/27

Expand Down
2 changes: 1 addition & 1 deletion test/codegen/parallel.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn main() -> int {
let mut i = 0;
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/poly_id.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn id[T](x: T) -> T {
x
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/poly_sort.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn range(a: int, b: int, body: fn (int) -> ()) -> () {
if a < b {
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/poly_sq.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn sq[T](mul: fn(T, T) -> T, val: T) -> T {
mul(val, val)
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/poly_type_arg.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

extern "thorin" {
fn reserve_shared[T](i32) -> &[3][T];
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/primes.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn primes[T](n: int, t: T, body: fn(int, T) -> T) -> T {
if n < 2 {
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/range.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

trait Iterator {
fn inc(self: Self) -> Self;
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/range_poly.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

trait Iterator {
fn inc(self: Self) -> Self;
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/ret_assert.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

extern "thorin" {
fn nvvm(int, (int, int, int), (int, int, int), fn() -> ()) -> ();
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/struct_arg.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

struct S {
fun : fn(i32, fn(fn(i32) -> i32) -> ()) -> (),
Expand Down
2 changes: 1 addition & 1 deletion test/codegen/system_f_problem.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn id[T](a: T) -> T { a }

Expand Down
2 changes: 1 addition & 1 deletion test/codegen/trait_impls.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

// TODO this example is not semantically correct because method overloading is prohibited! (=>int cannot implement A and B together)

Expand Down
2 changes: 1 addition & 1 deletion test/codegen/while_true.impala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// codegen
// codegen broken

fn main() -> int {
let mut i = 0;
Expand Down

0 comments on commit 4391604

Please sign in to comment.