mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 02:18:46 +00:00
Testcase for llvm-gcc 78324 (although in normal
testing mode it won't test much). llvm-svn: 78325
This commit is contained in:
parent
8456ae6bc8
commit
8cafc06175
9
test/FrontendC/wchar-const.c
Normal file
9
test/FrontendC/wchar-const.c
Normal file
@ -0,0 +1,9 @@
|
||||
// RUN: %llvmgcc -S %s -o - | grep {constant \\\[18 x} | grep { 84, }
|
||||
// This should pass for any endianness combination of host and target.
|
||||
#include <ctype.h>
|
||||
extern void foo(const wchar_t* p);
|
||||
int main (int argc, const char * argv[])
|
||||
{
|
||||
foo(L"This is some text");
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user