1 // Copyright 2006 The Trustees of Indiana University.
2 
3 // Use, modification and distribution is subject to the Boost Software
4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 
7 //  Authors: Douglas Gregor
8 //           Andrew Lumsdaine
9 
10 // Make sure adjacency_list works with EdgeListS=setS
11 #include <boost/graph/adjacency_list.hpp>
12 #include <boost/test/minimal.hpp>
13 
14 using namespace boost;
15 
16 typedef adjacency_list<vecS, vecS, undirectedS, no_property, no_property,
17                        no_property, setS> GraphType;
18 
test_main(int,char * [])19 int test_main(int,char*[])
20 {
21   GraphType g(10);
22   add_vertex(g);
23   add_edge(0, 5, g);
24   return 0;
25 }
26