blob: 7cf3322e8cf9663bf8dd0de66f7812697ac466f4 [file] [log] [blame]
Dale Johannesen27698eb2009-08-06 17:28:23 +00001// RUN: %llvmgcc -S %s -o - | grep {constant \\\[18 x} | grep { 84, }
2// This should pass for any endianness combination of host and target.
Dan Gohmanf5363682009-08-11 19:59:21 +00003#include <wchar.h>
Dale Johannesen27698eb2009-08-06 17:28:23 +00004extern void foo(const wchar_t* p);
5int main (int argc, const char * argv[])
6{
7 foo(L"This is some text");
8 return 0;
9}