Permalink
Browse files

t_stl: use cverbatim.

  • Loading branch information...
samrushing committed Mar 15, 2017
1 parent 00efcb0 commit af9c349d2243c69c742e2fb279c0c24ce5a696ce
Showing with 5 additions and 5 deletions.
  1. +0 −4 tests/t_stl.cc
  2. +5 −1 tests/t_stl.scm

This file was deleted.

Oops, something went wrong.
@@ -1,5 +1,9 @@
(include "lib/core.scm")
(local-include "t_stl.cc")
(cverbatim "
#include <list>
std::list<int> my_list;
")
(define (push-back n)
(%%cexp (int -> undefined) "my_list.push_back(%0)" n))

0 comments on commit af9c349

Please sign in to comment.