Make the wchar_t promotion test consistent across different hosts by specifying a...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 20 Sep 2012 18:57:53 +0000 (18:57 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 20 Sep 2012 18:57:53 +0000 (18:57 +0000)
commit85568adcee7086578f6fe9a6518ca151ad540f70
tree41c4fd5dc2e3862de3dc85a93566279555c8960a
parent1db86e1f6b63de5b189ed2f5ebf455f9df556f38
Make the wchar_t promotion test consistent across different hosts by specifying a target triple.

This test behavior differs depending (at least) on whether
sizeof(wchar_t) == sizeof(int) or not.

When they are equal, the first redeclaration will fail because decltype(+L'x')
is unsigned int instead of the expected int. This occurs on ARM.

llvm-svn: 164315
clang/test/CXX/conv/conv.prom/p2.cpp