forked from OSchip/llvm-project
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
This commit is contained in:
parent
8f67fd10e9
commit
3ad0572d2e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue