blob: 4f68aa34772c9b3627f24935a430065d691bc765 [file] [log] [blame]
Nico Weberc5f80462012-10-11 10:13:44 +00001// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-macosx10.8.0 -fms-extensions -verify
2
3typedef struct _GUID
4{
5 unsigned long Data1;
6 unsigned short Data2;
7 unsigned short Data3;
8 unsigned char Data4[8];
9} GUID;
10
11struct __declspec(uuid("87654321-4321-4321-4321-ba0987654321")) S { };
12
13GUID g = __uuidof(S); // expected-error {{__uuidof codegen is not supported on this architecture}}