From 28958a1f147ece63d4732c9e9beb4f1cbab30439 Mon Sep 17 00:00:00 2001
From: Andy Heninger <andy.heninger@gmail.com>
Date: Thu, 1 Mar 2018 23:11:18 +0000
Subject: [PATCH] ICU-13581 Fix AIX porting problem w range for loop.

X-SVN-Rev: 41043
---
 icu4c/source/test/intltest/ucdtest.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/icu4c/source/test/intltest/ucdtest.cpp b/icu4c/source/test/intltest/ucdtest.cpp
index e5c5989b9fc..8a52c94820f 100644
--- a/icu4c/source/test/intltest/ucdtest.cpp
+++ b/icu4c/source/test/intltest/ucdtest.cpp
@@ -558,7 +558,8 @@ void UnicodeTest::TestInvalidCodePointFolding(void) {
             0x110000, // out of range
             -1 // negative
     };
-    for (auto cp : invalidCodePoints) {
+    for (int32_t i=0; i<UPRV_LENGTHOF(invalidCodePoints); ++i) {
+        UChar32 cp = invalidCodePoints[i];
         assertEquals("Invalid code points should be echoed back",
                 cp, u_foldCase(cp, U_FOLD_CASE_DEFAULT));
         assertEquals("Invalid code points should be echoed back",
-- 
2.40.0