Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / 2005-02-20-BrokenReferenceTest.cpp
blob36f911e227fe28cf0ae88619bda87c02d7af94b6
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 void test(unsigned char *b, int rb) {
4 typedef unsigned char imgfoo[10][rb];
5 imgfoo &br = *(imgfoo *)b;
7 br[0][0] = 1;
9 rb = br[0][0];