repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
ms-iunknown-inline-def.cpp
blob
70f1107c2e31832d1ebfc5b72c586ecad70d5f27
1
// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
2
3
struct
__declspec
(
uuid
(
"00000000-0000-0000-C000-000000000046"
))
IUnknown
{
4
void
foo
() {}
5
};
6
7
// expected-error@+1{{interface type cannot inherit from}}
8
__interface HasError
:
public
IUnknown
{};