about summary refs log tree commit diff
path: root/src/test/compile-fail/match-static-const-lc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/match-static-const-lc.rs')
-rw-r--r--src/test/compile-fail/match-static-const-lc.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/compile-fail/match-static-const-lc.rs b/src/test/compile-fail/match-static-const-lc.rs
index 15a832aad89..345c4aa69a7 100644
--- a/src/test/compile-fail/match-static-const-lc.rs
+++ b/src/test/compile-fail/match-static-const-lc.rs
@@ -14,7 +14,7 @@
 #![deny(non_upper_case_globals)]
 
 #[allow(non_upper_case_globals)]
-pub const a : int = 97;
+pub const a : isize = 97;
 
 fn f() {
     let r = match (0,0) {
@@ -27,7 +27,7 @@ fn f() {
 
 mod m {
     #[allow(non_upper_case_globals)]
-    pub const aha : int = 7;
+    pub const aha : isize = 7;
 }
 
 fn g() {
@@ -41,7 +41,7 @@ fn g() {
 }
 
 mod n {
-    pub const OKAY : int = 8;
+    pub const OKAY : isize = 8;
 }
 
 fn h() {