1*a98ff317SPedro F. Giffuni /* 2*a98ff317SPedro F. Giffuni * CDDL HEADER START 3*a98ff317SPedro F. Giffuni * 4*a98ff317SPedro F. Giffuni * This file and its contents are supplied under the terms of the 5*a98ff317SPedro F. Giffuni * Common Development and Distribution License ("CDDL"), version 1.0. 6*a98ff317SPedro F. Giffuni * You may only use this file in accordance with the terms of version 7*a98ff317SPedro F. Giffuni * 1.0 of the CDDL. 8*a98ff317SPedro F. Giffuni * 9*a98ff317SPedro F. Giffuni * A full copy of the text of the CDDL should have accompanied this 10*a98ff317SPedro F. Giffuni * source. A copy of the CDDL is also available via the Internet at 11*a98ff317SPedro F. Giffuni * http://www.illumos.org/license/CDDL. 12*a98ff317SPedro F. Giffuni * 13*a98ff317SPedro F. Giffuni * CDDL HEADER END 14*a98ff317SPedro F. Giffuni */ 15*a98ff317SPedro F. Giffuni 16*a98ff317SPedro F. Giffuni /* 17*a98ff317SPedro F. Giffuni * Copyright (c) 2012 by Delphix. All rights reserved. 18*a98ff317SPedro F. Giffuni */ 19*a98ff317SPedro F. Giffuni 20*a98ff317SPedro F. Giffuni /* 21*a98ff317SPedro F. Giffuni * Check %d v. %i v. %u. 22*a98ff317SPedro F. Giffuni */ 23*a98ff317SPedro F. Giffuni 24*a98ff317SPedro F. Giffuni #pragma D option quiet 25*a98ff317SPedro F. Giffuni 26*a98ff317SPedro F. Giffuni uint16_t x; 27*a98ff317SPedro F. Giffuni int16_t y; 28*a98ff317SPedro F. Giffuni 29*a98ff317SPedro F. Giffuni BEGIN 30*a98ff317SPedro F. Giffuni { 31*a98ff317SPedro F. Giffuni x = 0xffffffff; 32*a98ff317SPedro F. Giffuni y = 0xffffffff; 33*a98ff317SPedro F. Giffuni 34*a98ff317SPedro F. Giffuni printf("%d %i %u\n", x, x, x); 35*a98ff317SPedro F. Giffuni printf("%d %i %u\n", y, y, y); 36*a98ff317SPedro F. Giffuni 37*a98ff317SPedro F. Giffuni exit(0); 38*a98ff317SPedro F. Giffuni } 39