Skip to content

Commit

Permalink
Removes indirection for the builtin division operator test.
Browse files Browse the repository at this point in the history
  • Loading branch information
junheecho committed Aug 29, 2022
1 parent c4ddd49 commit 4e1f1f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions explorer/testdata/operators/div_builtin.carbon
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

package ExplorerTest api;

// TODO: T:! Div
fn DoDiv[T:! DivWith(.Self) where .Result == .Self](x: T, y: T) -> T { return x / y; }

fn Main() -> i32 {
return DoDiv(8, 3);
return 8 / 3;
}

0 comments on commit 4e1f1f4

Please sign in to comment.