blob: a92e86b3cd880458b4f9ffee19061c319078644a [file] [log] [blame]
David Blaikief475bf82013-07-13 19:23:35 +00001//===- 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
18using namespace clang;
19
20LLVM_ATTRIBUTE_UNUSED void CompileTest() {
21 ASTContext *C = 0;
22 ASTVector<int> V;
23 V.insert(*C, V.begin(), 0);
24}