• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-macosx10.8.0 -fms-extensions -verify
2 
3 typedef struct _GUID
4 {
5     unsigned long  Data1;
6     unsigned short Data2;
7     unsigned short Data3;
8     unsigned char  Data4[8];
9 } GUID;
10 
11 struct __declspec(uuid("87654321-4321-4321-4321-ba0987654321")) S { };
12 
13 GUID g = __uuidof(S);  // expected-error {{__uuidof codegen is not supported on this architecture}}
14