/*
 * Oracle Linux DTrace.
 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * http://oss.oracle.com/licenses/upl.
 */

/*
 * ASSERTION:
 * 	Conditional expressions do not accept tracing functions in
 * 	the second or third expression
 *
 * SECTION: Types, Operators, and Expressions/Conditional Expressions
 *
 */

#pragma D option quiet

BEGIN
{
	a = "boo";
	c = a == "boo" ? printf("error\n") : trace();
	exit(1);
}
