summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-03-15 04:29:42 +0000
committerGreg Clayton <gclayton@apple.com>2011-03-15 04:29:42 +0000
commit3ad0572d2e26b9736cfa6ec751d1829403ffde54 (patch)
tree4760793ba661a154140169b176201d0ace870ce4
parent8f67fd10e950630611b6f3d206fb2f54b8f6000f (diff)
downloadbcm5719-llvm-3ad0572d2e26b9736cfa6ec751d1829403ffde54.tar.gz
bcm5719-llvm-3ad0572d2e26b9736cfa6ec751d1829403ffde54.zip
Make the first vector of "long" instead of "int" so we can tell the difference
easier since "short" ends up with "short int" in the template allocators. llvm-svn: 127661
-rw-r--r--lldb/test/unique-types/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/unique-types/main.cpp b/lldb/test/unique-types/main.cpp
index 536bf6cd9de..51ff3ad1f7b 100644
--- a/lldb/test/unique-types/main.cpp
+++ b/lldb/test/unique-types/main.cpp
@@ -5,12 +5,12 @@
int main (int argc, char const *argv[], char const *envp[])
{
- std::vector<int> ints;
+ std::vector<long> longs;
std::vector<short> shorts;
for (int i=0; i<12; i++)
{
- ints.push_back(i);
- shorts.push_back((short)i);
+ longs.push_back(i);
+ shorts.push_back(i);
}
return 0;
}
OpenPOWER on IntegriCloud