Index: src/AST/Util.cpp
===================================================================
--- src/AST/Util.cpp	(revision 3f681b19ad69aad53c354e0cd700eb632656069e)
+++ src/AST/Util.cpp	(revision 7675f5873cfa641c084cca615ae4a1b13bd4c5c9)
@@ -10,6 +10,6 @@
 // Created On       : Wed Jan 19  9:46:00 2022
 // Last Modified By : Andrew Beach
-// Last Modified On : Wed May  4 15:50:00 2022
-// Update Count     : 2
+// Last Modified On : Wed May 11 16:16:00 2022
+// Update Count     : 3
 //
 
@@ -48,4 +48,10 @@
 void isCodeLocationSet( const ParseNode * node ) {
 	assert( node->location.isSet() );
+}
+
+void areLabelLocationsSet( const Stmt * stmt ) {
+	for ( const Label& label : stmt->labels ) {
+		assert( label.location.isSet() );
+	}
 }
 
@@ -97,4 +103,9 @@
 	}
 
+	void previsit( const Stmt * node ) {
+		previsit( (const ParseNode *)node );
+		areLabelLocationsSet( node );
+	}
+
 	void postvisit( const Node * node ) {
 		no_strong_cycles.postvisit( node );
