1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/FrontendC/wchar-const.c
2009-08-11 19:59:21 +00:00

10 lines
279 B
C

// RUN: %llvmgcc -S %s -o - | grep {constant \\\[18 x} | grep { 84, }
// This should pass for any endianness combination of host and target.
#include <wchar.h>
extern void foo(const wchar_t* p);
int main (int argc, const char * argv[])
{
foo(L"This is some text");
return 0;
}