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