brintos

brintos / llvm-project-archived public Read only

0
0
Text · 302 B · 6484743 Raw
16 lines · cpp
1// REQUIRES: x86-registered-target2// RUN: %clang_cc1 -x c++ %s -triple i386-apple-darwin10 -std=c++11 -fasm-blocks -verify3 4class A {5public:6  void foo(int a)   {}7  void foo(float a) {}8};9 10 11void t_fail() {12	__asm {13		mov ecx, [eax]A.foo // expected-error {{Unable to lookup field reference!}}14	}15}16