Home | History | Annotate | Download | only in AST
      1 //===- unittests/AST/DeclTest.cpp --- Declaration tests -------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // Unit tests for the ASTVector container.
     11 //
     12 //===----------------------------------------------------------------------===//
     13 
     14 #include "llvm/Support/Compiler.h"
     15 #include "clang/AST/ASTContext.h"
     16 #include "clang/AST/ASTVector.h"
     17 
     18 using namespace clang;
     19 
     20 LLVM_ATTRIBUTE_UNUSED void CompileTest() {
     21   ASTContext *C = 0;
     22   ASTVector<int> V;
     23   V.insert(*C, V.begin(), 0);
     24 }
     25