xref: /aosp_15_r20/external/clang/test/PCH/uuidof.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
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
3 
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
10