[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / PCH / uuidof.cpp
blob207a8dafee3b105e4111ad92aeebd89f8b160bac
1 // RUN: %clang_cc1 -fms-extensions -x c++-header -emit-pch -o %t %s
2 // RUN: %clang_cc1 -fms-extensions -include-pch %t -fsyntax-only %s -emit-llvm -o - | FileCheck %s
4 #ifndef HEADER
5 #define HEADER
6 struct _GUID {};
7 const _GUID &x = __uuidof(0);
8 // CHECK-DAG: @_GUID_00000000_0000_0000_0000_000000000000
9 #endif