about summary refs log tree commit diff stats
path: root/002test.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-28 17:08:01 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-28 17:08:01 -0700
commitc7fde8d4e4175b436bc8db92bedd231261827e2c (patch)
treebb8093fcbb2784253a1ff58ff5a4908517c21581 /002test.cc
parentc7a836797abcbc65c39e7c3cae2ae88b7b878916 (diff)
downloadmu-c7fde8d4e4175b436bc8db92bedd231261827e2c.tar.gz
3272
Move global constants into their own section since we seem to be having
trouble linking in 'extern const' variables when manually cleaving mu.cc
into separate compilation units.
Diffstat (limited to '002test.cc')
-rw-r--r--002test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/002test.cc b/002test.cc
index b9cb0e15..bb3e3b51 100644
--- a/002test.cc
+++ b/002test.cc
@@ -10,8 +10,7 @@
 
 :(before "End Types")
 typedef void (*test_fn)(void);
-:(before "Globals")
-// move a global ahead into types that we can't generate an extern declaration for
+:(before "End Constants")
 const test_fn Tests[] = {
   #include "test_list"  // auto-generated; see makefile
 };