brintos

brintos / llvm-project-archived public Read only

0
0
Text · 566 B · 0bdd079 Raw
22 lines · c
1// RUN: %clang_cc1 -verify -triple x86_64-pc-windows-msvc19.0.0 -fopenmp -fms-compatibility -x c++ -emit-llvm %s -o - | FileCheck %s2 3// RUN: %clang_cc1 -verify -triple x86_64-pc-windows-msvc19.0.0 -fopenmp-simd -fms-compatibility -x c++ -emit-llvm %s -o - | FileCheck --check-prefix SIMD-ONLY0 %s4// SIMD-ONLY0-NOT: {{__kmpc|__tgt}}5// expected-no-diagnostics6// REQUIRES: x86-registered-target7extern "C" {8void __cpuid(int[4], int);9}10 11// CHECK-LABEL: @main12int main(void) {13  __try {14    int info[4];15    __cpuid(info, 1);16  } __except (1) {17  }18 19  return 0;20}21 22