summaryrefslogtreecommitdiff
path: root/test/FrontendC/wchar-const.c
blob: 7cf3322e8cf9663bf8dd0de66f7812697ac466f4 (plain)
1
2
3
4
5
6
7
8
9
// 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;
}