mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 03:55:48 -04:00

Handles the cases where old __va_list_tag is coming from a module and the new is not, needing an update record. Fixes https://llvm.org/bugs/show_bug.cgi?id=27890 Patch by Cristina Cristescu, Richard Smith and me. llvm-svn: 273159
9 lines
321 B
C++
9 lines
321 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR27890 -verify %s
|
|
// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR27890/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR27890 -verify %s
|
|
|
|
#include "a.h"
|
|
enum ActionType {};
|
|
opt<ActionType> a(values(""));
|
|
|
|
// expected-no-diagnostics
|