[Lldb-commits] [lldb] r127661 - /lldb/trunk/test/unique-types/main.cpp

Greg Clayton gclayton at apple.com
Mon Mar 14 21:29:42 PDT 2011


Author: gclayton
Date: Mon Mar 14 23:29:42 2011
New Revision: 127661

URL: http://llvm.org/viewvc/llvm-project?rev=127661&view=rev
Log:
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.


Modified:
    lldb/trunk/test/unique-types/main.cpp

Modified: lldb/trunk/test/unique-types/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/unique-types/main.cpp?rev=127661&r1=127660&r2=127661&view=diff
==============================================================================
--- lldb/trunk/test/unique-types/main.cpp (original)
+++ lldb/trunk/test/unique-types/main.cpp Mon Mar 14 23:29:42 2011
@@ -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;
 }





More information about the lldb-commits mailing list