1/* 2 * Copyright (c) 2010 Apple Inc. All rights reserved. 3 * 4 * @APPLE_LLVM_LICENSE_HEADER@ 5 */ 6 7// TEST_CONFIG 8 9#include <stdio.h> 10#include "test.h" 11 12int main() { 13 static int numberOfSquesals = 5; 14 15 ^{ numberOfSquesals = 6; }(); 16 17 if (numberOfSquesals != 6) { 18 fail("did not update static local, rdar://6177162"); 19 } 20 21 succeed(__FILE__); 22} 23 24