[cfe-dev] Address constant

Sanghyeon Seo sanxiyn at gmail.com
Sun Nov 11 16:54:43 PST 2007


2007/11/12, Sanghyeon Seo <sanxiyn at gmail.com>:
> A rather incomplete implementation and a test is attached.

A little better implementation and a little better test is attached. I
paste the test inline for comments.

// RUN: clang -fsyntax-only -verify %s

int i;
int a[] = {0};
struct { int i; } s;

int *array[] = {&i, a, &s.i};

-- 
Seo Sanghyeon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: address-constant.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20071112/9e166748/attachment.txt>


More information about the cfe-dev mailing list