From e5f087a07e9304773a610a2f6b00bbf2bde0ee5d Mon Sep 17 00:00:00 2001 From: Julien Fischer Date: Thu, 11 Jan 2018 23:09:08 -0500 Subject: [PATCH] Rename a test case. tests/valid/int64.m: Rename this test case to unescaped_special_char since its current name conflicts with an upcoming standard library addition. The new name is more descriptive anyway. Rename the type int64/0 defined in this test since an upcoming change will make that type a builtin (and hence a reserved name). tests/valid/Mmakefile: Conform to the above change. --- tests/valid/Mmakefile | 2 +- tests/valid/{int64.m => unescaped_special_char.m} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename tests/valid/{int64.m => unescaped_special_char.m} (84%) diff --git a/tests/valid/Mmakefile b/tests/valid/Mmakefile index 8eeac3168..210cf3525 100644 --- a/tests/valid/Mmakefile +++ b/tests/valid/Mmakefile @@ -148,7 +148,6 @@ OTHER_PROGS = \ inst_perf_bug_1 \ inst_perf_bug_2 \ instmap_generic_failure \ - int64 \ lambda_inference\ lambda_instmap_bug \ lambda_instmap_bug2 \ @@ -244,6 +243,7 @@ OTHER_PROGS = \ unbound_inst_var \ unbound_tvar_in_lambda \ undead_proc \ + unescaped_special_char \ unify_dummy \ uniq_mode_inf_bug \ uniq_unify \ diff --git a/tests/valid/int64.m b/tests/valid/unescaped_special_char.m similarity index 84% rename from tests/valid/int64.m rename to tests/valid/unescaped_special_char.m index 276f5f9aa..da0a1951e 100644 --- a/tests/valid/int64.m +++ b/tests/valid/unescaped_special_char.m @@ -6,17 +6,17 @@ % for this example, because it didn't properly escape special characters % such as \ in some of the C strings that it generated. -:- module int64. +:- module unescaped_special_char. :- interface. -:- type int64. +:- type myint64. -:- func int64 /\ int64 = int64. +:- func myint64 /\ myint64 = myint64. :- implementation. -:- type int64 == int. +:- type myint64 == int. :- pragma foreign_proc("C", (A::in) /\ (B::in) = (C::out),