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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
ms-inline-asm-errors.cpp
blob
6484743e1f7ae02eb2ec8ff10592e31e09cba839
1
// REQUIRES: x86-registered-target
2
// RUN: %clang_cc1 -x c++ %s -triple i386-apple-darwin10 -std=c++11 -fasm-blocks -verify
3
4
class
A
{
5
public
:
6
void
foo
(
int
a
) {}
7
void
foo
(
float
a
) {}
8
};
9
10
11
void
t_fail
() {
12
__asm
{
13
mov ecx
, [
eax
]
A
.
foo
// expected-error {{Unable to lookup field reference!}}
14
}
15
}