llvm-project/clang/test/PCH/uuidof.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
310 B
C++
Raw Normal View History

// RUN: %clang_cc1 -fms-extensions -x c++-header -emit-pch -o %t %s
// RUN: %clang_cc1 -fms-extensions -include-pch %t -fsyntax-only %s -emit-llvm -o - | FileCheck %s
#ifndef HEADER
#define HEADER
struct _GUID {};
const _GUID &x = __uuidof(0);
// CHECK-DAG: @_GUID_00000000_0000_0000_0000_000000000000
#endif