1f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -triple i686-pc-win32 -fms-extensions -emit-llvm -o - | FileCheck %s 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc #pragma detect_mismatch("test", "1") 4f4a2713aSLionel Sambuc 5f4a2713aSLionel Sambuc #define BAR "2" 6f4a2713aSLionel Sambuc #pragma detect_mismatch("test2", BAR) 7f4a2713aSLionel Sambuc 8*0a6a1f1dSLionel Sambuc // CHECK: !llvm.module.flags = !{{{.*}}} 9*0a6a1f1dSLionel Sambuc // CHECK: !{{[0-9]+}} = !{i32 6, !"Linker Options", ![[link_opts:[0-9]+]]} 10*0a6a1f1dSLionel Sambuc // CHECK: ![[link_opts]] = !{![[test:[0-9]+]], ![[test2:[0-9]+]]} 11*0a6a1f1dSLionel Sambuc // CHECK: ![[test]] = !{!"/FAILIFMISMATCH:\22test=1\22"} 12*0a6a1f1dSLionel Sambuc // CHECK: ![[test2]] = !{!"/FAILIFMISMATCH:\22test2=2\22"} 13