view clang/test/CodeGen/2010-06-11-SaveExpr.c @ 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

// RUN: %clang_cc1 -emit-llvm %s -o -
// Test case by Eric Postpischil!
void foo(void)
{
  char a[1];
  int t = 1;
  ((char (*)[t]) a)[0][0] = 0;
}