diff usr/src/cmd/dtrace/test/tst/common/pointers/err.BadAlign.d @ 13944:bbcbb468dc37

3519 DTrace fails to resolve const types from fbt 3520 dtrace internal error -- token type 316 is not a valid D compilation token 3521 clean up dtrace unit tests Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
author Adam Leventhal <ahl@delphix.com>
date Tue, 05 Feb 2013 10:10:25 -0800
parents 71bab08d24b2
children
line wrap: on
line diff
--- a/usr/src/cmd/dtrace/test/tst/common/pointers/err.BadAlign.d	Fri Feb 01 19:44:54 2013 +0000
+++ b/usr/src/cmd/dtrace/test/tst/common/pointers/err.BadAlign.d	Tue Feb 05 10:10:25 2013 -0800
@@ -24,7 +24,9 @@
  * Use is subject to license terms.
  */
 
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
+/*
+ * Copyright (c) 2012 by Delphix. All rights reserved.
+ */
 
 /*
  * ASSERTION: This test reproduces the alignment error.
@@ -39,9 +41,10 @@
 
 BEGIN
 {
-	x = (int *) 64;
+	x = (int *)64;
 	y = *x;
 	trace(y);
+	exit(0);
 }
 
 ERROR