Clang Project

clang_source_code/test/PCH/uuidof.cpp
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
6struct _GUID {};
7const _GUID &x = __uuidof(0);
8// CHECK-DAG: @_GUID_00000000_0000_0000_0000_000000000000
9#endif
10