1 // Copyright 2018 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include <assert.h>
6 
7 #include <zircon/assert.h>
8 
9 // Outputs error message when assertion fails.
AssertError(int line,char * file)10 void AssertError(int line, char* file) {
11     ZX_DEBUG_ASSERT_MSG(0, "AssertError at line %d, file %s\n", line, file);
12 }
13