blob: f8527432d26175e36383ea90ac3324c2b257cfd6 [file] [log] [blame]
David Blaikiea9956302013-07-13 18:08:59 +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/ASTVector.h"
16#include "clang/Basic/TargetInfo.h"
17#include "clang/Frontend/CompilerInstance.h"
18#include "gtest/gtest.h"
19
20using namespace clang;
21
22LLVM_ATTRIBUTE_UNUSED void CompileTest() {
23 ASTContext *C = 0;
24 ASTVector<int> V;
25 V.insert(*C, V.begin(), 0);
26}