Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGen/ms-inline-asm-errors.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// REQUIRES: x86-registered-target // RUN: %clang_cc1 -x c++ %s -triple i386-apple-darwin10 -std=c++11 -fasm-blocks -verify class A { public: void foo(int a) {} void foo(float a) {} }; void t_fail() { __asm { mov ecx, [eax]A.foo // expected-error {{Unable to lookup field reference!}} } }