You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
491 B
21 lines
491 B
// RUN: %clang_cc1 %s -fms-extensions -triple i686-pc-win32 -emit-llvm -o - | FileCheck %s
|
|
|
|
// CHECK: @"\01??_C@_19DPFBEKIN@?$AAf?$AAu?$AAn?$AAc?$AA?$AA@" = linkonce_odr unnamed_addr constant [5 x i16] [i16 102, i16 117, i16 110, i16 99, i16 0], comdat, align 2
|
|
|
|
void wprint(const wchar_t*);
|
|
|
|
#define __STR2WSTR(str) L##str
|
|
#define _STR2WSTR(str) __STR2WSTR(str)
|
|
#define STR2WSTR(str) _STR2WSTR(str)
|
|
|
|
void func() {
|
|
wprint(STR2WSTR(__FUNCTION__));
|
|
}
|
|
|
|
int main() {
|
|
func();
|
|
|
|
return 0;
|
|
}
|
|
|