1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 %s -fsyntax-only -fms-extensions -E -o - | FileCheck %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc #define BAR "2" 4*0a6a1f1dSLionel Sambuc #pragma comment(linker, "bar=" BAR) 5*0a6a1f1dSLionel Sambuc // CHECK: #pragma comment(linker, "bar=" "2") 6*0a6a1f1dSLionel Sambuc #pragma comment(user, "Compiled on " __DATE__ " at " __TIME__) 7*0a6a1f1dSLionel Sambuc // CHECK: #pragma comment(user, "Compiled on " "{{[^"]*}}" " at " "{{[^"]*}}") 8*0a6a1f1dSLionel Sambuc 9*0a6a1f1dSLionel Sambuc #define KEY1 "KEY1" 10*0a6a1f1dSLionel Sambuc #define KEY2 "KEY2" 11*0a6a1f1dSLionel Sambuc #define VAL1 "VAL1\"" 12*0a6a1f1dSLionel Sambuc #define VAL2 "VAL2" 13*0a6a1f1dSLionel Sambuc 14*0a6a1f1dSLionel Sambuc #pragma detect_mismatch(KEY1 KEY2, VAL1 VAL2) 15*0a6a1f1dSLionel Sambuc // CHECK: #pragma detect_mismatch("KEY1" "KEY2", "VAL1\"" "VAL2") 16*0a6a1f1dSLionel Sambuc 17*0a6a1f1dSLionel Sambuc #define _CRT_PACKING 8 18*0a6a1f1dSLionel Sambuc #pragma pack(push, _CRT_PACKING) 19*0a6a1f1dSLionel Sambuc // CHECK: #pragma pack(push, 8) 20*0a6a1f1dSLionel Sambuc #pragma pack(pop) 21